From: "AndrewJ" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: cout on Win98 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: <4Z8S4.15074$55.286538@news2.rdc1.on.home.com> Date: Wed, 10 May 2000 08:20:16 GMT NNTP-Posting-Host: 24.42.120.18 X-Complaints-To: abuse AT home DOT net X-Trace: news2.rdc1.on.home.com 957946816 24.42.120.18 (Wed, 10 May 2000 01:20:16 PDT) NNTP-Posting-Date: Wed, 10 May 2000 01:20:16 PDT Organization: @Home Network Canada To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Since Alexey alread answered your question, I won't bother with that, but... for future reference: [snip] > #include > > main() > { > cout<<"Hello World.\n"; > } main should be declared as either int main(void) or int main(int argc, char *argv[]) (or **argv). Learn it now... ;) AndrewJ