2008-11-22から1日間の記事一覧
一方、D言語は出力関連のを使おうとするとimportが必須で、しかもimport(std.stdio);みたいな書き方は出来ないので無理。 できるよ! int*x;typeof(*x)y;extern(C)typeof(y)printf(char*,...);typeof(y)main(){printf(cast(char*)"Hello,%cworld.",0x20);ret…
一方、D言語は出力関連のを使おうとするとimportが必須で、しかもimport(std.stdio);みたいな書き方は出来ないので無理。 できるよ! int*x;typeof(*x)y;extern(C)typeof(y)printf(char*,...);typeof(y)main(){printf(cast(char*)"Hello,%cworld.",0x20);ret…