The information in this article applies to:
SYMPTOMSIf you declare the same variable in two different for-statements, the following error may appear:
CAUSEThe scope of a variable declared in the initialization part of a "for" loop is given local scope, as if it had been declared immediately prior to the for-statement. RESOLUTION
Compile with /Za, Disable Language Extensions. To select this option in
Developer Studio, select Project, Settings, and then click the C/C++ Tab.
Change the Category to Customize and select Disable Language Extensions.
MORE INFORMATION
Additional query words:
Keywords : kbLangCPP kbVC500 kbVC600 |
Last Reviewed: August 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |