-
October 16th, 2013, 08:47 AM
#1
[RESOLVED] Broken Visual studio
For some reason, my Visual Studio 2008 Express has started to throw compile errors when including <iostream>
All projects that previously compiled without errors are now failing.
In fact I can reproduce this by creating a project containing the single line #include <iostream>
The error I get is
c:\program files\microsoft visual studio 9.0\vc\include\xstring(31) : error C2143: syntax error : missing ',' before '<'
Reinstallation has had no effect.
I'm stuck! Any ideas?
"It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
Richard P. Feynman
-
October 16th, 2013, 09:33 AM
#2
Re: Broken Visual studio
Didn't you changed one of the files in ...\vc\include\ directory?
Victor Nijegorodov
-
October 16th, 2013, 10:03 AM
#3
Re: Broken Visual studio
Not that I'm aware of. I imagine something got corrupted, but I hoped a re-install would fix it.
I'm going to try to eradicate all traces of VS2008 from my PC and do another re-install.
"It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
Richard P. Feynman
-
October 16th, 2013, 10:11 AM
#4
Re: Broken Visual studio
"It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
Richard P. Feynman
-
October 16th, 2013, 10:26 AM
#5
Re: Broken Visual studio
Originally Posted by JohnW@Wessex
OK, that worked.
So what was the problem?
Victor Nijegorodov
-
October 16th, 2013, 11:40 AM
#6
Re: [RESOLVED] Broken Visual studio
I don't really know. I assume one of the include file got corrupted in some way.
A normal re-installation didn't seem to overwrite all of the files.
I uninstalled VS, manually erased the folders, and then re-installed.
"It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
Richard P. Feynman
-
October 16th, 2013, 11:44 AM
#7
Re: [RESOLVED] Broken Visual studio
Well, you could look at the 'Date Modified' in Explorer column to see which files were recently changed...
But It is already good you could solve this problem!
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|