From: jcrules AT bright DOT net (Scott) Newsgroups: comp.os.msdos.djgpp Subject: Multiple definitions...What's Wrong??? Date: Sun, 03 Aug 1997 04:11:02 GMT Organization: BrightNet Ohio Lines: 23 Message-ID: <33e402cb.20478662@news.bright.net> NNTP-Posting-Host: bryn-cas1-cs-44.dial.bright.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I just started using djgpp, although I'm familiar with C++, and I'm having some problems. I've tried to build a couple of different projects and they both come up with multiple definition errors. I don't know what's wrong, because my code's the same as it has been for other compilers. I use: #ifndef MYPROG_H #define MYPROG_H #endif I thought this was supposed to clear the problem up, but apparently not. If it's any help, my header file consists of the declaration of a single class, and then the file I have problems with is the file that contains the function definitions. All of the functions show up in the error listing as being included multiple times. Any help would be greatly appreciated. Thanx, Scott jcrules AT bright DOT net