0
In C++ do you have to declare all variables and methods in another class?
4 Answers
+ 1
Normally you declare your variables and method where you need them... You're probably meaning templates or header files?
0
Yes, I mean the header
0
Sorry for late answer, was not in the mood for long explanations (and this was required here). But I found a link where some people already did it for you (read all answers) đ
https://softwareengineering.stackexchange.com/questions/297939/c-header-files-design-just-like-defining-an-api/297955#297955