Mail Archives: djgpp/1999/07/18/21:10:31
From: | "Burger Rule" <burger_rule AT mailcity DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | 2 Questions!
|
Date: | Sun, 18 Jul 1999 13:47:21 +0100
|
Organization: | UUNET Internet Africa
|
Lines: | 47
|
Message-ID: | <7msim9$die$1@nnrp01.ops.uunet.co.za>
|
NNTP-Posting-Host: | dup4-tmb.iafrica.com.na
|
X-Trace: | nnrp01.ops.uunet.co.za 932302345 13902 196.20.11.4 (18 Jul 1999 12:52:25 GMT)
|
X-Complaints-To: | abuse AT iafrica DOT com
|
NNTP-Posting-Date: | 18 Jul 1999 12:52:25 GMT
|
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
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
HI!!!
===
As you read, 2 questions:
1:) In this code:
#include<conio.h>
int i;
int main()
{
for (i=1, i<10, i=i+1)
{
gotoxy(50,50);
printf("Hello world!\n");
}
sleep(2);
}
you'll notice that in "for (i=1, i<10, i=i+1)" there is comma's where there
should be semicolon's.
The error message I get from this is -> "Error: parse error before ' ) ' ".
When I fix this problem, the error message isn't given.
This was just an example. I often get this error message, BUT EACH CASE IS
TOTALLY DIFFERENT FROM THE OTHER.
I would REALLY appreciate it if you can tell me what this "parse error" part
means.
2:) Based on your experience with different books you studied to learn and
to become a expert in C++, what would you recommend for a beginner as a
really excellent book on teaching C++.
YOUR REPLY TO THESE QUESTIONS IS MUCH APPRECIATED.
THANX IN ADVANCE.
Reply to this newsgroup or to burger_rule AT mailcity DOT com
==============
>>*=Burger Rule=*<<
==============
- Raw text -