From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: parse errors Date: Thu, 15 Jan 1998 11:55:32 -0600 Organization: Cornell University Lines: 25 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34BE4D94.3B1F@cornell.edu> References: <19980115130300 DOT IAA15160 AT ladder01 DOT news DOT aol DOT com> <34BE1DBB DOT BC64D0D6 AT pentek DOT com> Reply-To: sinan DOT unur AT cornell DOT edu NNTP-Posting-Host: 128 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Charles Krug wrote: > > HackerOC3 wrote: > > >printf("y value?"); > >int y; > >scanf(" %d", &y); > >printf("color value?"); > >int c; > >scanf(" %d", &c); > > > In above code, i get parse errors before int. I also sometimes get > > parse errors in function prototypes for seemingly invaild reasons. > > Please help!! incidentally, you have posted, e-mailed, confirmed your receipt of answers to this question umpteen times. i know there are people who disagree with me on this, but posting the same thing over and over and over does count as spam. if you are compiling your programs as C++ source and still getting parse errors, then you have a typo elsewhere, or you are trying to use the name of a struct/union/function/typedef before the compiler sees it. now, please work it out.