From: Ian Miller Newsgroups: comp.os.msdos.djgpp Subject: Re: (none) Message-ID: References: <3405-Wed17Jul2002211102+0300-eliz AT is DOT elta DOT co DOT il> X-Newsreader: MicroPlanet Gravity v2.60 Lines: 33 Date: Thu, 18 Jul 2002 22:46:11 +0100 NNTP-Posting-Host: 212.56.100.56 X-Complaints-To: abuse AT plus DOT net DOT uk X-Trace: wards 1027028935 212.56.100.56 (Thu, 18 Jul 2002 22:48:55 BST) NNTP-Posting-Date: Thu, 18 Jul 2002 22:48:55 BST Organization: Customer of PlusNet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <3405-Wed17Jul2002211102+0300-eliz AT is DOT elta DOT co DOT il>, eliz AT is DOT elta DOT co DOT il says... > > From: "Diogo Abdalla" > > Date: Wed, 17 Jul 2002 05:49:18 +0000 > > > > Well, following the instructions of a tutorial I wrote, in Rhide, this > > little code: > > #include > > int main() > > { > > cout << "Hello!"; > > return 0; > > }... > Did you per chance named your source file something.c? If so, rename > the file so that it has a .cc or .cpp extension. Hello. I think Diogo may need to modernise his C++ as well as naming his source file correctly. Try this code instead: #include int main() { std::cout << "Hello!" << std::endl; return 0; } I would recommend getting a more up to date tutorial. Hope this helps, Ian