T
Tom
This has got to be something really simple, but I'm pretty baffled...[VC++
..NET 2003]
In the header file I define the class interfaces, in the CPP file the class
functions, and the
CPP file #includes the header file. Looks like Stroustrup style code.
The only way I can get it to complile is to declare (again) the class within
the cpp file.
If I don't redeclare it but instead just put all the
Classname::Method(parameters){ code };
in the CPP file, I get thousands of compile errors. They seem to object
whenever I use any of
the managed types. The functions that don't use anything but ints, etc. seem
to compile OK.
What is simple that I'm missing?
-- Tom
..NET 2003]
In the header file I define the class interfaces, in the CPP file the class
functions, and the
CPP file #includes the header file. Looks like Stroustrup style code.
The only way I can get it to complile is to declare (again) the class within
the cpp file.
If I don't redeclare it but instead just put all the
Classname::Method(parameters){ code };
in the CPP file, I get thousands of compile errors. They seem to object
whenever I use any of
the managed types. The functions that don't use anything but ints, etc. seem
to compile OK.
What is simple that I'm missing?
-- Tom