2009年9月22日

控制台程序按任意键继续的方法

摘要: 在vc6里面,控制台程序,运行之后,有一个说press any key to continue然而,到vc2005就没有了,又想看一下console打印的结果解决办法有两种:1. 在main的最后加一句getchar()2. 在main的最后加一句system("pause")。需要#include <stdlib.h> 阅读全文

posted @ 2009-09-22 15:55 vincenzo.lai 阅读(2265) 评论(0) 推荐(0)

导航