From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP please: C++ Not working!! Date: Sun, 20 Jul 2003 15:17:45 +1000 Organization: HOME Message-ID: References: X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 19 NNTP-Posting-Date: 20 Jul 2003 13:17:45 WST NNTP-Posting-Host: 202.154.115.197 X-Trace: 1058678265 news.swiftel.com.au 6690 202.154.115.197 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >My program looks like this: >/* C++ */ > >#include > >int main(void) { > > cout << "Hello World!" << endl; > >} I suggest that you have a look at one of the newere C++ book as the C++ standard changed a while ago and the code above is now will not compile as you have found. You need to add the following line after the include:- using namespace std; Regards, Andrew