www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/15/12:31:47

From: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019