upgrade a project from VC 6 to VC 2005

upgrade a project from VC 6 to VC 2005

Right now i am working on VC++ 6.0 . I want to start work with VC++2005 .

I have plan to upgrade my current project which has been running on VC++6.0 .

How do i upgrade  a project from  VC++ 6.0  to VC 2005 .

Please give me details and usefull tips about it .

VC6 is a pretty bad compiler.  It supports all sorts of nastiness.  So, how bad the upgrade will be for you depends on how well you know C++.  VC6 may have allowed some bad code which will be lots of work to repair, but if you've written good code, the main thing that might hit you is that VC6 ( wrongly ) compiles:

for (int i = 0; i < 10; ++i)

{

///

}

if (i < 10) ///

The scope of i in VC.NET is the for loop.  You make find places where you reuse a variable like i, and you'll have to add code to declare it.

Copyright © 2007-2012 www.chuibin.com Chuibin Copyright