What goes in a header file C++?

KellyPoima

New member
What goes in a header file C++?
Answer
Things like class declarations, function prototypes, and enumerations typically go in header files. In a word, “definitions”. Code files ( . cpp ) are designed to provide the implementation information that only needs to be known in one file.
 

Tìm kiếm

Back
Top