I have a program with a class in it (how interesting). I have the definitions of this class in a .h file, with the actual finction code in a .cpp file. The .cpp file #includes the .h file. Then, I included the cpp file in my main cpp file (with main in it). The result is twenty errors about redefinition. What can this be?
If someone would like the code, I'll post it when prompted. It's a bit lengthy if it isn't necessary to post it.



LinkBack URL
About LinkBacks


