-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

3
  • If you think this can help other users then please post the question in a proper manner and then post answer on your own. Nov 24, 2017 at 5:27
  • thank you for telling me i'm new here Nov 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. Nov 24, 2017 at 5:59

1 Answer 1

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.

1
  • 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, 2017 at 1:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.