|
|
发表于 2008-5-3 20:27:00
|
显示全部楼层
Re:Compatibility of VS2003 and VS2005
There is nothing different.
But in VS2005 or VS2008,you should set the dir of DX SDK by yourself.
VS2008 will run slower than VS2005.If your computer is not strong enought.use VS2005 instead.
There are something different bewteen VS2003 and VS2008 in STD library.
eg.
VS2003: std::hash
VS2008: stdext::hash
VS2003: for(int i = 10;i > 5;i--)
{
...........
}
int j = i+1; correct i = 5
VS2008 incorrect
vector<int> vInt;
vInt._Myfirst; correct 2003/Incorrect 2008 Because _Myfirst is a protected member. You may use vInt.begin()._Myptr to get the same result.
My English is poor. If there is any mistake in grammer,I apologized. ^_^
|
|