Message-ID: <38754B78.36D7DCC7@caresystems.com.au> Date: Fri, 07 Jan 2000 12:12:10 +1000 From: leon X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: C++, Multiple Files, Classes References: <3873FF7B DOT DFB48EA2 AT wt DOT net> <38751224 DOT 65715732 AT wt DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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).