使用VS创建一个控制台项目,然后使用如下的代码就可以了://#include "stdafx.h"#include # includeint main(){ int a=5, b=1, c=0; c = a + b; std::cout << c<}
lz用什么开发环境?