Lines: 19 X-Admin: news AT aol DOT com From: steveadele AT aol DOT com (Steveadele) Newsgroups: comp.os.msdos.djgpp Date: 13 Aug 2002 18:26:38 GMT Organization: AOL http://www.aol.com Subject: newbie help Message-ID: <20020813142638.26420.00000048@mb-bd.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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 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?