By mswatcher
via visualstudiomagazine.com
Submitted: Nov 30 2012 / 11:00
I mentioned in a recent column that class declaration and definition usually go in different files. Declaration depicts the class structure in an .h file (header) that is later included by other classes that use it. Class definition, instead, goes in .cpp files and implements its behavior.
Add your comment