Thursday, March 17, 2005

Common C++ error

error:ISO C++ forbids defining types within return type
error:return type specification for constructor invalid

This mainly happens when you forget to end the class declaration with a ';'