linux gcc 和 g++ 编译

gcc编译

gcc -o test.out test.c

g++ 编译

g++ -o test.out test.cpp

原文地址:https://www.cnblogs.com/mobileliker/p/4055075.html