Top "Header-files" questions

Header files are used in some programming languages to hold source code as a single copy that may be reused in multiple source files.

Difference between iostream and iostream.h

What is the difference between iostream and iostream.h?

c++ iostream header-files
How to use C code in C++

Just a small question: Can C++ use C header files in a program? This might be a weird question, basically …

c++ c header-files
C++: Reason why using ".hh" as extension for C++ header files

I would like to know why we use ".hh" as extension for C++ header files instead of using just ".h". …

c++ header-files
CMake - dependencies (headers) between apps/libraries in same project

I have the following project structure: CMakeLists.txt lib1/CMakeLists.txt and all cpp and header files of the lib …

c++ visual-studio-2010 dependencies cmake header-files
small functions defined in header files: inline or static?

I have a number of small functions which are defined in a .h file. It is a small project (now) …

c static inline header-files
using namespace std; in a header file

So, I have the following in a specification file #include <string> #include <fstream> using namespace std: …

c++ class namespaces header-files
sql.h header file missing though unixODBC is installed

I am on an up-to-date Ubuntu 12.04 system. I have unixodbc (v2.2.14 from ubuntu repos), MySQL and its relevant drivers installed. …

c ubuntu odbc header-files unixodbc
Include std library in header or cpp?

If I have a class A which uses iostream, should I put the include statement of iostream in A.h …

c++ header-files
Where are the opencv2 include files?

I'm struggling to find the include files that should be in a directory names "opencv2"! I've downloaded OpenCV-2.4.0.tar.bz2 …

opencv installation header-files
Should variable definition be in header files?

My very basic knowledge of C and compilation process has gone rusty lately. I was trying to figure out answer …

c linker c-preprocessor header-files include-guards