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


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

Re: Header file naming convention

From Qi <no@no.no>
Newsgroups comp.lang.c++
Subject Re: Header file naming convention
Date 2011-07-06 17:30 +0800
Organization Aioe.org NNTP Server
Message-ID <iv19vr$ls6$1@speranza.aioe.org> (permalink)
References <iv0fqn$274$1@speranza.aioe.org> <iv170q$6o5$1@adenine.netfront.net>

Show all headers | View raw


On 2011-7-6 16:36, Steve Keller wrote:
> For example, emacs knows it.  For some reason I don't like .cpp and
> use .cc.  Consequently, I tend to prefer .hh over .hpp.  OTOH, I'd
> prefer to not use something very unusual.  Does nobody else use .hh?

FYI, I just checked several open source libraries on my machine,

Boost -- hpp
wxWidgets -- h
Qt -- h
Google V8 -- h
Luabind -- hpp
libsigc++ -- h (it uses .cc for source code)
Loki -- h

I think at least .hh is quite less common than .hpp and .h, if
not nobody knows it.


-- 
WQ

Back to comp.lang.c++ | Previous | Next — Previous 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