Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #7500

Re: Header file naming convention

Newsgroups comp.lang.c++
Subject Re: Header file naming convention
References <iuvnbq$1isg$1@adenine.netfront.net> <7f032ffd-d164-477e-b57a-f1350325cbff@29g2000yqb.googlegroups.com>
Date 2011-07-06 00:17 +0200
From Asger-P <junk@asger-p.dk>
Organization Asger-P
Message-ID <op.vx52upif2juju3@ajwin7> (permalink)

Show all headers | View raw


Hi Gert-Jan de Vos

On the: 05. of juli-2011 At: 21:44 Gert-Jan de Vos wrote:

> On Jul 5, 9:03 pm, Steve Keller <kel...@no.invalid> wrote:
>> What do you name your header files?  .h, .hh, .hpp or something else.
>> I currently use .h but I tned to switch to .hh.
>
> .h and .hpp seem to be most common. I started with .h headers because
> my IDE (MSVC6) at the time didn't support the .hpp extension. I stay
> with that choice for consistency.
>
> Boost usually does the right thing in the C++ world, which suggests
> .hpp

Isn't .hpp a pascal header ? (it is when using Delphi)


Best regards
Asger-P

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Header file naming convention Steve Keller <keller@no.invalid> - 2011-07-05 21:03 +0200
  Re: Header file naming convention Juha Nieminen <nospam@thanks.invalid> - 2011-07-05 19:10 +0000
  Re: Header file naming convention "Bo Persson" <bop@gmb.dk> - 2011-07-05 21:26 +0200
  Re: Header file naming convention Gert-Jan de Vos <gert-jan.de.vos@onsneteindhoven.nl> - 2011-07-05 12:44 -0700
    Re: Header file naming convention Asger-P <junk@asger-p.dk> - 2011-07-06 00:17 +0200
      Re: Header file naming convention Qi <no@no.no> - 2011-07-06 17:34 +0800
  Re: Header file naming convention Qi <no@no.no> - 2011-07-06 10:04 +0800
    Re: Header file naming convention Garrett Hartshaw <ghartshaw@gmail.com> - 2011-07-06 02:12 -0400
    Re: Header file naming convention Steve Keller <keller@no.invalid> - 2011-07-06 10:36 +0200
      Re: Header file naming convention Miles Bader <miles@gnu.org> - 2011-07-06 18:22 +0900
      Re: Header file naming convention Qi <no@no.no> - 2011-07-06 17:30 +0800

csiph-web