The purpose of header files is soley to satisfy the compiler?
Jump to Post
In C/C++ you must define everything befor use it. For example, if you need a variable to store an integer --say a--, first you must define it like:
and later you can use it like
The same happens, for example, with functions.
Suppose that you have declared a function …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.