From: jason_hsu AT my-deja DOT com (Jason Hsu) Newsgroups: comp.os.msdos.djgpp Subject: HELP! C++ programs used to compile but no longer do! Date: 23 Nov 2001 13:04:57 -0800 Organization: http://groups.google.com/ Lines: 26 Message-ID: NNTP-Posting-Host: 24.18.171.165 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1006549498 11283 127.0.0.1 (23 Nov 2001 21:04:58 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 23 Nov 2001 21:04:58 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have a *.cc program that used to compile in gpp but no longer does. My computer has Windows 98, and I compile C++ programs on the standard MS-DOS shell. I had to reinstall DJGPP due to the need to wipe out a corrupted Windows 98. So I have tried compiling the C++ code I saved. While the program worked previously, it no longer does. Has DJGPP changed recently? I get a LONG list of error messages like: 1. analysis.cc:9: parse error before `=' token 2. analysis.cc:14: 'string' is used as a type, but is not defined as a type. 3. analysis.cc:112: `data' undeclared (first use this function) The headers I use are: #include #include #include #include #include #include What do I need to do to remedy this situation? I'm pretty sure that my DJGPP installation is not configured properly. I should note that I have been able to get a "HELLO WORLD!" program to run properly.