- 编译: g++ -o hello hello.cpp- 运行: 双击打开exe文件即可 / 直接输入 hello.exe#include <iostream>using namespace std;int main(){ printf("%d", 1); return 0;};