Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#include <stdio.h>


int calc(double x[], int len)
{
  for (int i = 0; i < len; i++) {
    x[i] = x[i] * 2;
 }
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Glade

ui = Builder(filename="foo.glade")

GtkButton

getproperty(widget, :label, String)
signal_connect(widget -> foo(widget), widget, "clicked")
@goropikari
goropikari / c++memo.md
Last active February 26, 2018 06:53
C++メモ

標準入力・出力

#include <iotream>
using namespace::std;
  
int main() {
    int a, b;
    cin >> a >> b;
    cout << a + b << std::endl;
    return 0;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.