delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/06/20:05:49

Message-ID: <38751224.65715732@wt.net>
Date: Thu, 06 Jan 2000 16:07:32 -0600
From: Aaron Chernosky <chernobl AT wt DOT net>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en,pdf
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++, Multiple Files, Classes
References: <3873FF7B DOT DFB48EA2 AT wt DOT net>
NNTP-Posting-Host: 216-119-162-40.ipset44.wt.net
X-Trace: 6 Jan 2000 16:05:43 -0600, 216-119-162-40.ipset44.wt.net
Organization: World Trade Network, Inc. (WT.net)
Lines: 21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019