第1个回答 2006-06-07
先运行CMD,然后把文件拖到CMD的窗口,回车!!!
第2个回答 2006-06-07
在后面加一句getchar()
#include<stdio.h>
main()
{
printf("hello");
getchar();
}本回答被提问者和网友采纳
第3个回答 2006-06-07
在程序后面加上 getch(); 暂停屏幕
第4个回答 2006-06-07
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("hello");
system("pause");
}