Tom Cook <[EMAIL PROTECTED]> writes:

> On  0, Sean 'Shaleh' Perry <[EMAIL PROTECTED]> wrote:
>> On Monday 30 September 2002 19:04, Tom Cook wrote:
>> > #include <qt/qapplication.h>
>> > #include <qt/qlabel.h>
>> > #include <qt/qstring.h>
>> >
>> > then you should be able to compile with:
>> >
>> > g++ -c -o helloworld.o helloworld.cpp
>> >
>> > Note also that the usual (proper?) way of naming C++ source is *.cc or
>> > *.cxx, not *.cpp like M$ do.
>> >
>> > Tom
>> 
>> actually cpp is a valid and common extension.  In fact both qt and kde use it 
>> for their own projects.  I happen to use .cc but no use getting into a naming 
>> scuffle.
>
> 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'.

-- 
People said I was dumb, but I proved them!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to