[c++] HelloWorld

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

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

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

3、调试程序:ctrl+F5

posted @ 2020-01-29 22:45  cxc1357  阅读(147)  评论(0编辑  收藏  举报