出處:http://nxforce.blogspot.com/2008/04/cc-systempause-for-linux.html
define 一個 pause :
#define PAUSE printf("Press Enter key to continue..."); fgetc(stdin);
使用它
....
PAUSE
printf("system(\"pause\") for linux!\n");
....
PAUSE
printf("system(\"pause\") for linux!\n");
....
作者已經移除這則留言。
回覆刪除