本来有vs2008, 然后现在装了vs2010 出了奇怪的有关问题

本来有vs2008, 然后现在装了vs2010 出了奇怪的问题.
电脑上本来装了vs2008

现在装了vs2010,奇怪:
1. vs2008里面使用的opencv的lib 和其他第三方库的lib的路径已经自动加到vs2010 的路径里面了

2.这个问题也很奇怪:
C/C++ code
//#include <iostream>

   //using namespace std;


void main()
{
    //cout<<"csdn is excellent";
}


这样程序可以再vs2010里运行。

如果是

C/C++ code
#include <iostream>

using namespace std;


void main()
{
    cout<<"csdn is excellent";
}


就出现错误:1> main.cpp
1>c:\program files\microsoft sdks\windows\v7.0a\include\winnt.h(1083): error C2061: syntax error : identifier 'T'
1>c:\program files\microsoft sdks\windows\v7.0a\include\winnt.h(1084): fatal error C1903: unable to recover from previous error(s); stopping compilation

不解啊?

------解决方案--------------------
在2010中把include和lib,bin等换成vs2010目录下的include, lib, bin。
------解决方案--------------------
1。完全的卸掉,重装
2.更改库配置,建一个工程,打开它的属性页,里面有C++目录,自己更改下,配置到VS2010中的库文件和头文件
------解决方案--------------------
左上角Configuration下拉选所有配置。
将环境变量IncludePath的值设置为2010的include目录。