2015-12-04から1日間の記事一覧

写経 『計算物理のためのC/C++言語入門』

Cpp

サイト 2 簡単な計算 // sample01.cc #include <stdio.h> main(void) { printf("Computer in Physics\n"); } gcc sample01.cc -o sample01 ./sample01// sample02.cc #include <stdio.h> main(void) { int a, b, c; a=1; b=2; c=a+b; printf(" %d + %d = %d \n", a, b, c ); } </stdio.h></stdio.h>…