Mail Archives: djgpp/2000/01/06/22:01:56
Aaron Chernosky wrote:
> Okay... that's fixed, have all the stuff in the same file (the class and
> the funcs):
>
> -- header.cpp --
>
> class MyClass {
> public:
> MyClass();
> ~MyClass();
> };
>
> MyClass::MyClass() { }
>
> MyClass::~MyClass() { }
>
> ----------------
>
> ...but now it's telling me that each of the member functions is defined
> multiple times... which is absurd to me, but wut's up here?
>
> Aaron C
am sorry - if wrong - did not read previous posts but from my limited
understanding - multiple definition - when you include source file more than
once in your project (exception = template cpp files with definitions of
template methods).
- Raw text -