[c++] HelloWorld

1、在VS中新建项目:win32控制台——空

2、创建文件:源文件——右键——添加新建项——cpp文件

#include"iostream"
using namespace std;
int main() {
    cout << "hello" << endl;
    return 0;
}

3、调试程序:ctrl+F5

猜你喜欢

转载自www.cnblogs.com/cxc1357/p/10527091.html