C的编译器
我的系统是64位的WIN7,用Visual Studio2010旗舰版写的C代码(不是C++。我的文件是test.c):
#include <stdio.h>
main(){
printf("%s\n","HEllo,World!");
}
然后按F5进行编译,再按Ctrl+F5运行,为啥没打印出任何东西呢? Dos窗口弹出请按任意键继续
[解决办法]
int main( void ){
printf("%s\n","HEllo,World!");
return 0; //加個返回看看
}
[解决办法]
lz是用的unicode编译的吗?
把编译选项改为 多字节,应该就好了
[解决办法]
#include <stdio.h>
#include <windows.h>
main(){
printf("%s\n","HEllo,World!");
system("pause");
}