0

I'm using visual studio 2015 update 1 and I get 448 errors on my very simple console application. How can I fix these errors. I had not this problem before (visual studio 2013 was working properly.)

#include "stdafx.h" #include <iostream> using namespace std; int main() { cout << "Hello World"; return 0; } 

enter image description here enter image description here

13
  • 3
    remove the "Precompiled header" check. I recommend even to check "Empty Project". Commented Feb 6, 2016 at 16:33
  • 1
    Just made a new project with your settings in MSVC 2015 and copy-pasted your code. It compiles exactly as it should. Did you change anything else? Any more code in your project? Commented Feb 6, 2016 at 16:40
  • @bolov How can I do this? Commented Feb 6, 2016 at 16:44
  • 3
    Check the empty project checkbox Commented Feb 6, 2016 at 16:45
  • 2
    Your installation is probably broken or incomplete. I remember that some editions of MSVS required you to download an according SDK separately. Otherwise, I'd suggest you reinstall the whole thing. It's definitely not normal that a wizard-generated default project fails to compile. Commented Feb 6, 2016 at 17:27

1 Answer 1

1

My problem solved by reinstalling visual studio update 1 I thank this user: ulrich-eckhardt

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.