From: Scott Billings Newsgroups: comp.os.msdos.djgpp Subject: C++ code doesn't compile Date: Thu, 19 Mar 1998 16:21:53 -0600 Organization: netINS, Inc. Lines: 20 Message-ID: <35119A81.8D281715@netins.net> NNTP-Posting-Host: desm-13-20.dialup.netins.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Well, that's not entirely true, it just won't compile using GCC. If I use something like GPP or G++ it will. This seems to be a problem with both GCC 2.7.2.1 and 2.8.0 (I'm using 2.8 right now). If I try and compile something using the "gcc source.cpp -o source.exe" I get all kinds of errors about an undefined referance to cout and just about every other function I use. Yes, I did add the #include at the top. I've also tried the -X c++ switch to no avail. I've even tried using different extensions, like .cc .cpp .cxx ... None work. Anyone have any further suggestions? -- Scott Billings aerogemsx AT netins DOT net Remove the "x" To Reply http://www.netins.net/showcase/Comput-IT/scott/