-3

image of error

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.

code

console message with error

1 Answers1

0

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:) – Jack Zhai Nov 27 '17 at 01:48