新建文件File->new->source file
code:
#include <iostream>
using namespace std;
int main()
{
cout<<"hello world"<<endl;
return 0;
}
ctrl+s 保存为xxx.cpp
ctrl+F9进行编译
ctrl+F10运行
运行结果:
hello world
新建文件File->new->source file
code:
#include <iostream>
using namespace std;
int main()
{
cout<<"hello world"<<endl;
return 0;
}
ctrl+s 保存为xxx.cpp
ctrl+F9进行编译
ctrl+F10运行
运行结果:
hello world