2010-05-09, 12:18 AM
The way I was told was to put the class declaration into the header file and the method definitions into the corresponding C++ file.
However (excuse my hijacking), would there be any problem with combining the two and putting it in a single header file, without a corresponding C++ file? I've always done that to be lazy and I wonder if there's actually any downside to it.
However (excuse my hijacking), would there be any problem with combining the two and putting it in a single header file, without a corresponding C++ file? I've always done that to be lazy and I wonder if there's actually any downside to it.

