From: "HELENA BROMAN" Newsgroups: comp.os.msdos.djgpp Subject: Undeclared (first use... Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: NNTP-Posting-Host: 213.101.48.157 X-Complaints-To: news-abuse AT swip DOT net X-Trace: nntpserver.swip.net 1059824653 213.101.48.157 (Sat, 02 Aug 2003 13:44:13 MET DST) NNTP-Posting-Date: Sat, 02 Aug 2003 13:44:13 MET DST Organization: A Customer of Tele2 X-Sender: s-1012908 AT d213-101-48-157 DOT swipnet DOT se Date: Sat, 2 Aug 2003 13:45:28 +0200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi all! I've just started C++ and is not doing so fine... I am trying the Hello World script: #include int main() { cout << "Hello World!\n"; return 0; } and is compiling in djgpp First I get an Backward varning for iostream.h so I remove the .h part and gets this... world.cpp: In function `int main()´: world.cpp:5 `cout´ undeclared (first use this function) Use what first? Whats wrong? I use Win 98 Cheers! Mattias