cpp 代码
- // 這一行是 註解,凡是在同一行裡面,"//" 後面的,都是註解
- // VC0401.cpp : 定義主控台應用程式的進入點。
- //
- #include "stdafx.h"
- #include <conio.h>
- // #include 的意思是,把某一個文字檔案 include 進來,
- // 一起 compile, < > 是系統提供的檔案," " 是自己寫的
- // 下面這一行,先不要管他。
- int _tmain(int argc, _TCHAR* argv[])
- {
- printf("hello, world! 0723\n");
- _getch();// 這一行是 提供暫停的功能。
- return 0;// 這一行,先不要管他。
- }// end of main()
- // 這樣子,應該暫時沒有問題了吧?
- // 還有問題的話,請提出。