2008-10-08から1日間の記事一覧
$ cat syou6162.R (function(){cat("dn"); Recall();})()
例えばこんな感じでfloor()を使うCのプログラムtest.cがあったとして、 /* test.c */ #include <stdio.h> #include <math.h> int main() { printf("%d\n", (int)floor(1.5)); return 0; } そのままgccでコンパイルしようとするとエラーになる場合がある。 $ gcc test.c /tmp/c</math.h></stdio.h>…