最简单的方式:
g++ helloworld.cpp
指定名称:
g++ helloworld.cpp -o helloworld
多个文件编译:
g++ runoob1.cpp runoob2.cpp -o runoob