Solved

What is the difference between .h and .hh files?

Posted on 2004-10-11
2
883 Views
Last Modified: 2006-11-17
Hi,
What is the difference between .h and .hh files?
I know both are extensions for header files but I have both type of files in my environement.
Is it got to do with third party library?

Thanks
0
Comment
Question by:dkamdar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
rstaveley earned 50 total points
ID: 12278583
It is just a convention used by your library vendor. You might find that they put their C++ stuff in .hh headers. You might find that they put headers which you are not supposed to include directly yourself in the .hh files.
0
 
LVL 12

Expert Comment

by:stefan73
ID: 12278677
Hi dkamdar,
The C/C++ preprocessor isn't picky. It will include anything that is in the include path. So, naming is just a convention.

Cheers!

Stefan
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question