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.
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.