I just downloaded and installed VS 2010, and when I start a new console application using the C++ settings, the template opens with redlines already in it, under _TCHAR* in the main function parameters. When I try to compile, it returns the following:
fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
I also noticed that anytime I try to include any other header file, the intellisense suggests files that I don't recognize, and redlines the #include keyword if I type in anything like iostream, telling me that it can't find the file.
I tried setting the Project Toolbox to v90 (it was v100), which fixed the problem with it not finding the header files, and with redlining the template code, but gave me the following whenever I tried to compile:
error MSB6006: "CL.exe" exited with code -1073741515
I googled the problem, and found several instances of people fixing either the same or a similar problem by downloading and installing the Windows SKD 7.1. So I downloaded and ran it, but it simply declared an error without telling me what kind and exited. When I looked into THAT, I got that I should download and run it from the .iso, which I did, but with the same result.
I'm at my wit's end now. I need to get VS running so I can do some schoolwork, but I can't seem to find anything to make it work. Any help would be appreciated.
FYI my pc is a 64 bit, dual core Pentium with Windows 7 Home Premium, and yes, I made sure to download the 64 bit SDK, but I only have access to the 32 bit version of VS 2010. I have an installer for 32/64 bit VS 2008, as well, but I want to stick with 2010 as this is what my school uses.