From: whatfor AT mindspring DOT com (Jon DeMarks) Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems Installing DJGPP Date: Thu, 04 Nov 99 17:27:06 GMT Organization: MindSpring Enterprises Lines: 31 Message-ID: <7vsfg4$uds$2@nntp5.atl.mindspring.net> References: NNTP-Posting-Host: d1.8a.9a.f0 X-Server-Date: 4 Nov 1999 17:24:20 GMT X-Newsreader: News Xpress 2.0 Beta #2 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article , "Derek Battams" wrote: >I just downloaded all of the ZIP files and unzipped them. To ensure that >I've installed all of the files correctly I tried to compile the following >C++ program: > >#include > >int main() >{ > cout << "Hello World!"; > return 0; >} > >When I tried to compile it I got the following errors: > >bunch of crap taken out< >Help appreciated, > >Derek Battams > > try this: ------------HELLO.C------------------ #include void main() { printf("Hello World\n"); } -----------End HELLO.C------------- but if you really want the iostream, then use: #include you always need to remember the .h part.