| 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 |