摘要: 1、建立Win32控制台空项目;2、项目属性默认使用Unicode库,我们要关闭它,Alt+F7/Character Set/Not Set;3、添加源文件C++ File(.cpp); 最简单的示例代码:#include<iostream>int main(){ std::cout << "This is a test program!" << std::endl; std::getchar(); return 0;}注:这是使用VS2012编写标准C++代码(ISO/IEC C++),可移植性最好的方法。 阅读全文
posted @ 2012-10-11 00:21 zhoutk 阅读(308) 评论(0) 推荐(0) 编辑