写入一下代码:#includeusing namespace std;int main(){cout<<"hello world!";return 0;}然后,CTRL+F7,编译;F7,链接;CTRL+F5,运行。 也可以不用快捷键直接点工具栏上的按钮。