From: "Shaggs" Newsgroups: comp.os.msdos.djgpp Subject: ASAP: class header files Date: Thu, 6 May 1999 17:38:21 -0700 Organization: Posted via RemarQ Communities, Inc. Lines: 16 Message-ID: <926037273.027.43@news.remarQ.com> NNTP-Posting-Host: 208.145.132.6 NNTP-Posting-Date: Fri, 07 May 1999 00:34:33 GMT X-Trace: 926037273.027.43 K8TBLZBRT8406D091C usenet1.supernews.com X-Complaints-To: newsabuse AT remarQ DOT com X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I need the full details on making a c++ header. From my main program file i have: #include "myclass.h" myclass *mine = new myclass; I keep getting errors saying stuff like: undefined reference to myclass::myclass(void) But its defined in the header, and the code is in the .cpp source also, how do i properly use #ifdef for the header file