C言語を Script言語として扱う[開発]

このエントリーをはてなブックマークに追加


2008-11-21


http://sourceforge.jp/magazine/08/11/21/0128218

これは面白い!

#!/usr/bin/ccod
#pragma CCOD:script no

int main( int argc, char** argv )
{
    printf("hi there\n");
    return 0;
}


なんてファイルを main.c とかでつくって

$ chmod a+x main.c
$ ./main.c
hi there


おおーどれぐらい動くんだろう?初心者が勉強しやすくなる?



IPv4/IPv6 meter
検索キーワードは複数指定できます
ChangeLogを検索
Google
Web www.kunitake.org
思ったより安い……時もある、Amazon

カテゴリ