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");  
}

上一篇:好熱好熱

下一篇:算術基本原理