>> when it was added to C++, i "felt" that the scope
>> of 'i' wasn't natural; it goes beyond 'for's closure.
>> i like a behavior like this:
>> 
>>      { int i; for (i = 0, ...) ...; }
> 
> so did the c++ standards committee and the c99 committee.
> both have declared that
> 
>       for (int i = 0; i < 10; i++);
>       
> now means
> 
>       { int i; for(i=0; i<10; i++); }

i didn't know. wow?!
my vc6 is officially an antique.

Reply via email to