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.

Cannot open include file: 'atlbase.h': No such file or directory

Please have a look at the following code #define _ATL_APARTMENT_THREADED #include <atlbase.h> //You may derive …

c++ windows qt header-files sapi
C Typedef - Incomplete Type

So, out of the blue, the compiler decides to spit this in face: "field customer has incomplete type". Here's the …

c struct typedef header-files incomplete-type
Including C headers inside a C++ program

I have a C++ program (.cpp) inside which I wish to use some of the functions which are present inside …

c++ c header header-files
Is #pragma once part of the C++11 standard?

Traditionally, the standard and portable way to avoid multiple header inclusions in C++ was/is to use the #ifndef - #…

c++ c++11 macros header-files c++14
undefined reference when calling inline function

I am getting a really odd error from GCC 4.8.1 with inline functions. I have two near-identical inline functions defined in …

c function undefined inline header-files
Can I write C++ code without headers (repetitive function declarations)?

Is there any way to not have to write function declarations twice (headers) and still retain the same scalability in …

c++ header header-files
What's the differences between .dll , .lib, .h files?

Why in a project should I include some *.lib, .h or some other files? And what are these things used …

c++ windows dll header-files
Eclipse CDT: Unresolved inclusion of stl header

I'm trying to use Eclipse to edit sources, compiled under C++ Builder, but stuck with Unresolved inclusion problem. For example, …

c++ eclipse c++builder header-files eclipse-cdt
Tools to find included headers which are unused?

I know PC-Lint can tell you about headers which are included but not used. Are there any other tools that …

c++ coding-style header-files
Including header file from static library

I am making a test setup of a C static library and program. The library code, located in a subdirectory …

c gcc static-libraries header-files .a