delorie.com/archives/browse.cgi | search |
Message-ID: | <3D59C5B7.766F5C2F@junk.net> |
From: | Ian Chapman <ian_chapman AT junk DOT net> |
X-Mailer: | Mozilla 4.79 [en] (Win98; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: newbie help |
References: | <20020813142638 DOT 26420 DOT 00000048 AT mb-bd DOT aol DOT com> |
Lines: | 30 |
Date: | Tue, 13 Aug 2002 22:51:36 -0400 |
NNTP-Posting-Host: | 64.230.88.149 |
X-Complaints-To: | abuse AT sympatico DOT ca |
X-Trace: | news20.bellglobal.com 1029293519 64.230.88.149 (Tue, 13 Aug 2002 22:51:59 EDT) |
NNTP-Posting-Date: | Tue, 13 Aug 2002 22:51:59 EDT |
Organization: | Bell Sympatico |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Nothing. It looks like you have not set up djgpp per instructions. There should be included a faq in fact a faq information in several formats. They are unsipped from faq230b.zip one in xxx.info and there is the same thing in txt and html. It's a pain but you have to get it all together. Have you had a look at ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/ there is all of the latest stuff. Look for t he weekly faq from JD delorie I think he has a word or two about starting. Steveadele wrote: > im a complete newb at programming so i went out and bought this book sams teach > yorself c++ in 24 hours and the djgpp compiler came with but im stuck. > > the book tells me to make write hello.cpp as follows: > #include <iostream.h> > > int main() > { > cout << "hello world!\n"; > return 0; > } > that is exactly how the book shows it also but, > when i compile it i get a list of errors; > hello.cpp: inf function 'int main()': > hello.cpp:6: count undeclared (first use this function) > hello.cpp:6: (each undeclared identifier is reported only once > hello.cpp:6: for each function it appears in.) > hello.cpp:6: parse error before ';' > can anyone tell me what im doing wrong?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |