Connecting Tech Pros Worldwide Forums | Help | Site Map

Which do you prefer, ``.cc'', ``.cpp'', or ``.cxx''?

maincc
Guest
 
Posts: n/a
#1: Jul 22 '05
I like the old faver of ``.cc''
Another reason is try http://main.cc


______________________________
// Jianyuan Wu
// Website: main.cc
int main() { return 0; }

Richard Herring
Guest
 
Posts: n/a
#2: Jul 22 '05

re: Which do you prefer, ``.cc'', ``.cpp'', or ``.cxx''?


In message <4cecac6f.0407220418.4de3b2a3@posting.google.com >, maincc
<tmp1@main.cc> writes[color=blue]
>I like the old faver of ``.cc''
>[/color]
I prefer the one my IDE generates for me, whatever that happens to be.

--
Richard Herring
tom_usenet
Guest
 
Posts: n/a
#3: Jul 22 '05

re: Which do you prefer, ``.cc'', ``.cpp'', or ``.cxx''?


On 22 Jul 2004 05:18:04 -0700, tmp1@main.cc (maincc) wrote:
[color=blue]
>I like the old faver of ``.cc''
>Another reason is try http://main.cc[/color]

You forgot .C (which relies on a case sensitive filesystem) and .c++.
I use whatever my development environment is happiest with (which
happens to be .cpp at the moment).

I suspect the most common is probably .cpp, but I might well be wrong.

Tom
JKop
Guest
 
Posts: n/a
#4: Jul 22 '05

re: Which do you prefer, ``.cc'', ``.cpp'', or ``.cxx''?


maincc posted:
[color=blue]
> I like the old faver of ``.cc''
> Another reason is try http://main.cc
>
>
> ______________________________
> // Jianyuan Wu
> // Website: main.cc
> int main() { return 0; }[/color]


..cpp and .hpp all the way!


-JKop
Christopher Benson-Manica
Guest
 
Posts: n/a
#5: Jul 22 '05

re: Which do you prefer, ``.cc'', ``.cpp'', or ``.cxx''?


JKop <NULL@null.null> spoke thus:
[color=blue]
> .cpp and .hpp all the way![/color]

I thought .hpp was a reasonable extension, but I was criticized for
using it here because it's apparently used by Borland SuckBuilder for
a precompiled Pascal file or something equally ridiculous.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Richard Herring
Guest
 
Posts: n/a
#6: Jul 22 '05

re: Which do you prefer, ``.cc'', ``.cpp'', or ``.cxx''?


In message <cdoips$h36$2@chessie.cirr.com>, Christopher Benson-Manica
<ataru@nospam.cyberspace.org> writes[color=blue]
>JKop <NULL@null.null> spoke thus:
>[color=green]
>> .cpp and .hpp all the way![/color]
>
>I thought .hpp was a reasonable extension, but I was criticized for
>using it here because it's apparently used by Borland SuckBuilder for
>a precompiled Pascal file or something equally ridiculous.
>[/color]
[OT, but let's risk it...]
Well, that criticism is certainly ridiculous - the Borland-supplied .hpp
files contain something that's close enough (modulo a few extensions) to
normal C++ for their C++ compiler to swallow. It may have been
translated from Pascal, but that's a different issue.

However, the Borland IDE insists on creating paired .cpp and .h pairs
and will become very confused if you rename the .h as .hpp.


--
Richard Herring
Closed Thread