cpp-lab 如果您使用的是 Linux 或 UNIX,请在命令行使用下面的命令来检查您的系统上是否安装了 GCC: $ g++ -v 编译和执行: $ g++ helloworld.cpp $ ./a.out