linux编译c++ Posted on 2019-06-17 | In 其他 | | Words count in article: 55 | Reading time ≈ 1 linux编译并运行c++ 如果是编译运行c语言,则是gcc 12$ g++ helloworld.cpp$ ./a.out 当前目录产生一个a.out可执行文件 指定可执行文件名: 12$ g++ helloworld.cpp -o helloworld$ ./helloworld Donate? comment? Donate WeChat Pay Alipay