gcc g++

gcc is for compiling "c" source code,  gcc also can use for c++ source code

and g++ is for compiling "c++" source code.

 

"g++" will automatically link the code with the C++ runtime library (libstdc++),

 but you must include it manually if you use "gcc" for c++ source code.

posted @ 2010-03-11 16:07  greencolor  阅读(151)  评论(0编辑  收藏  举报