在cpp所在目录,鼠标右键“在终端打开” 1、生成可执行文件,以hello.cpp为例,生成可执行程序hello g++ hello.cpp -o hello 2、运行可执行文件 ./hello 相关文章: 2022-12-23 2021-11-27 2021-12-05 2021-12-05 2022-12-23 2022-12-23 2022-12-23