In Visual Studio 2010, for a loop's initialization variable is not available out of for loop scope, unlike Visual C++ 6.0. Whenever we compile old codes (generated in VC++ 6.0) using newest version, it annoys us. Then, take easy, and change project option to release your blood pressure.
Go to "Project property pages - C/C++ - Language - Force Conformance in For Loop Scope", and select "No (/Zc:forScope-)".
For more information, "http://msdn.microsoft.com/en-us/library/84wcsx8x.aspx".
Subscribe to:
Post Comments (Atom)
-
Aftter adding this line, in 'head' of the blogger template editor in html mode, you can use MathJax expressions. For a new ...
-
-. A-priori reference variable has no unit (unitless). It is typically 1.0 or can be a different value for scaling. -. Weight is determ...
-
Multi-byte Unicode char TCHAR strcat_s() _tcscaft_s() strcpy_s() _tcscpy_s() strncpy_s() _tcsncpy_s() strien() _tcsien() sprinif_s()...
No comments:
Post a Comment