2009-10-22 18:29:43來源不明
hello, world
作法: 直接輸出
由於C++有內建的一些東西
所以可以將程式碼縮短很多
C
/****************************************/
#include<stdio.h>
main()
{
printf("hello, world\n");
return 0;
}
C++
/****************************************/
#include<stdio.h>
main()
{
puts("hello, world");
}