By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,261 Members | 1,325 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,261 IT Pros & Developers. It's quick & easy.

What is a .hpp file.

P: n/a
Hi,
Just wondering if anyone can tell me what a .hpp file is?
Thanks in advance
Ross
Jul 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Ross wrote:
Just wondering if anyone can tell me what a .hpp file is?
Thanks in advance


Some people wants to use different extensions for C an C++ headers. .hpp is
one of the extensions used for C++ headers, in that case.

--
Salu2
Jul 22 '05 #2

P: n/a
On Fri, 13 Aug 2004 18:52:14 +0200, Julián Albo <JU********@terra.es>
wrote:
Ross wrote:
Just wondering if anyone can tell me what a .hpp file is?
Thanks in advance


Some people wants to use different extensions for C an C++ headers. .hpp
is
one of the extensions used for C++ headers, in that case.


Sometimes people use .hpp for strictly C++ headers and .h for headers that
compile as either C or C++.

john
Jul 22 '05 #3

P: n/a

"Ross" <ro*********@gmail.com> wrote in message
news:5e*************************@posting.google.co m...
Hi,
Just wondering if anyone can tell me what a .hpp file is?


When your program gets big, you'll want to split it into separate files for
organizational purposes. Then the compiler will compiler these files
separately and then link them together to make an exe. Typically in C++,
you place declarations/class definitions in .hpp files, and the actual code
in .cpp files.
Jul 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.