At home, I work with visual c++ 6.0 standard.

As a programming beginner, I have already noticed that it does not follow the ANSI standards in several ways.

For example, in the book I'm reading, it says that when you declare a variable in a for loop, it is restricted to that code block, by ANSI standards. However, vc++ 6 doesn't obey this rule, I have noticed.

My friend's dad has visual c++ .net 2003, and I noticed the same thing happens.

This seems weird. On the microsoft website, it said that vc++ 2003 is much more conformative to ANSI...

Is this just one weird example?