This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
for loop stuff
- From: "Anant Aneja" <anantaneja at rediffmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: 15 Jan 2003 10:53:02 -0000
- Subject: for loop stuff
- Reply-to: "Anant Aneja" <anantaneja at rediffmail dot com>
thnks for all the help people.
hres 1 more q
if i use
for (int i=0;i<9;i++) cout<<endl<<i;
i=25;
i get a iso somethin error
it is rectified if i give
int i=25;
is there someway the int i declared in the for loop is directly
available .
problem is i was previously using turbo C++ compiler which allowed
this and i got a lot of code with similar statements as above.
So can anyone suggest somethin
anant