Message-Id: <3.0.6.32.19990211121901.00828100@pop.netaddress.com> X-Sender: pderbysh AT pop DOT netaddress DOT com (Unverified) X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Thu, 11 Feb 1999 12:19:01 -0500 To: djgpp AT delorie DOT com From: Paul Derbyshire Subject: Re: Newbie Question (variable dec.) In-Reply-To: <36c399d2.18754602@news.okstate.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com At 03:06 AM 2/12/99 GMT, you wrote: >int x; >for (x=0;x<=10;x++) printf("%i\n",x); >int y; >for (y=0;y<=10;y++) printf("%i\n",y); > >what I'm wondering is this just a part of standard C, >is there some option that will change this? Standard C doesn't allow that...C++ does. Use C++. :-) -- .*. "Clouds are not spheres, mountains are not cones, coastlines are not -() < circles, and bark is not smooth, nor does lightning travel in a `*' straight line." ------------------------------------------------- -- B. Mandelbrot |http://surf.to/pgd.net _____________________ ____|________ Paul Derbyshire pderbysh AT usa DOT net Programmer & Humanist|ICQ: 10423848|