Hey, thanks for the advice. The problem is, if I don't include the same header by both files, then the global declared in the header will work for the cpp file that includes it, but not for the other cpp file.
For instance, I have two CPP files that both make use of the same global variable. I...
Hey hey
I'm having some problems with my header files; I've been programming in C++ for awhile now but haven't really had much experience seperating my stuff into cpp and header files.
Anyway, I searched through this forum for a solution and none presented itself, so I'll go ahead and describe...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.