正常情况 例如: g++ helloslam.cpp 编译后目录下多出一个 a.out 文件 指定输出文件名 用到 “-o” 指令 g++ -o helloslam helloslam.cpp 这样输出文件名即为helloslam