[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KDE2 helloworld.cpp



Brian Nelson wrote:

> Tom Cook <tom.cook@adelaide.edu.au> writes:
> 
> > No, it's not worth it.  I was just looking at the g++ man page that
> > lists .cc and .cxx but not .cpp.
> 
> Huh?  I see:
> 
>   C++ source files use one of the suffixes `.C', `.cc', `.cxx', `.cpp',
>   or `.c++'; preprocessed C++ files use the suffix `.ii'.

Your quote matches the man page for g++ 2.95. However, the man page for
g++ 3.2 does not mention .cpp. (I would say it should, since it's not at
all an uncommon extension for C++ sources.) It also does not mention .c++.

Craig



Reply to: