#include #include int main(){printf("按任意键继续输出\n");getch();//还有也可以用system来运行DOS下的按任意键输出printf("Hello World!\n");return 0;}
getchar();不过要等遇到回车才继续输出。