RE: [Dev-C++] Quick Q - what does .hpp mean?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2002-11-26 20:37:08
|
Besides the normal *.h, the following extensions are more or less regularly used for cpp header files: *.hpp, *.hh and *.H At least for gcc <= 3.00, *.h have is a specially known extension, i.e. gcc knows that it should ignore any *.h files it gets on the command line. Since *.hpp isn't specially known, it is assumed to be an object file, and gets forwarded to the linker. One reason why this might be interesting: my_prog: foo.c bar.h gcc $^ -o $@ In this case, the make file doesn't make use of automatic dependancy rules, but will still with a very simple rule build the program. /Per W On Tue, 26 Nov 2002, Ioannis Vranos wrote: > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Daniel Glenfield > > Sent: Tuesday, November 26, 2002 6:40 PM > > To: dev...@li... > > Subject: [Dev-C++] Quick Q - what does .hpp mean? > > > > > > Does .hpp mean the file is a strict C++ header file? I've > > seen it around but > > I always use .h for all my headers. > > > It is not strict. You can use even .doc. However .hpp is *used* to mean > C++ header. But i haven't seen any .hpp yet. I use .h myself too. > > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL: http://run.to/noicys > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |