I\'ve just migrated from VS2005 to VS2010 and it fails to compile a simple program.
#include
using std::cout;
using std::endl;
int main()
{
The system could not find the Visual C++ compiler (CL.exe)...
Things you should try:
Rerun the Visual Studio 2010 installer and make sure you selected to install Visual C++ tools for your platform (either x86 or amd64).
Run the installer in repair mode.
If this does not solve your problem: