That code is a bit pre-standard C++.
~98% of the errors you get are due to revisions of the standard since VC6 came out. There have been 4 revisions. And at least C++03 should be a requirement for VS2008
This Documentation can be helpful to solve most of the incompatibilities caused by this: C++ Language and Standard Libraries





