Connecting Tech Pros Worldwide Help | Site Map

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

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 22nd, 2005, 04:45 PM
maincc
Guest
 
Posts: n/a
Default Which do you prefer, ``.cc'', ``.cpp'', or ``.cxx''?

I like the old faver of ``.cc''
Another reason is try http://main.cc


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

  #2  
Old July 22nd, 2005, 04:45 PM
Richard Herring
Guest
 
Posts: n/a
Default 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
  #3  
Old July 22nd, 2005, 04:45 PM
tom_usenet
Guest
 
Posts: n/a
Default 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
  #4  
Old July 22nd, 2005, 04:45 PM
JKop
Guest
 
Posts: n/a
Default 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
  #5  
Old July 22nd, 2005, 04:45 PM
Christopher Benson-Manica
Guest
 
Posts: n/a
Default 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.
  #6  
Old July 22nd, 2005, 04:45 PM
Richard Herring
Guest
 
Posts: n/a
Default 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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.