I'm having an error with visual studio every time I'm trying to use cin to get the guess of the user without that it works fine.
-
If you think this can help other users then please post the question in a proper manner and then post answer on your own.– Amit PhaltankarNov 24, 2017 at 5:27
-
thank you for telling me i'm new here– fernando pegueroNov 24, 2017 at 5:33
-
I strongly recommend reading How to Ask and reworking the question to meet the site rules. Do not use images where text will do. For one thing, I can't compile and test a png file and doubt few others can.– user4581301Nov 24, 2017 at 5:59
1 Answer
this happening to me since I install visual studio 2017 just a couple of days ago.
I'm trying to learn c++ for unreal engine just started learning and i came across that error anyone who have this error maybe this can be helpful for them.
first, let me tell you wah t the problem was i was trying to run a 32bit debugger on my 64bit pc cause visual studio install it that way so if you are getting this error on any of your projects all you have to do is change the project to an x64 bit project.
go to the Top bar "Build" then go to "Configuration manager" in there change it to x64 bit instead of 32bit
hopefully this can help someone
the link to the page that i read to fix is here.
after all the changes code runs well and no error anymore.
-
Glad to know that this issue has been resolved, if so, please mark your solution as the answer, so it could help other community members who get the same issue as yours. Have a nice day:) Nov 27, 2017 at 1:48