- 論壇徽章:
- 0
|
linux下可以編譯c但是能編譯c++嗎,如果可以用什么編譯??
g++試試!
找個(gè)rpm包裝一下!
[code]
NAME
g++ - GNU project C++ Compiler
SYNOPSIS
g++ [option | filename ]...
DESCRIPTION
The C and C++ compilers are integrated; g++ is a script to call gcc with options to recog?
nize C++. gcc processes input files through one or more of four stages: preprocessing, com?
pilation, assembly, and linking. This man page contains full descriptions for only C++ spe?
cific aspects of the compiler, though it also contains summaries of some general-purpose
options. For a fuller explanation of the compiler, see gcc(1).
C++ source files use one of the suffixes `.C', `.cc', `.cxx', `.cpp', or `.c++'; prepro?
cessed C++ files use the suffix `.ii'.
[\code] |
|