• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

C++ Problem

Status
Not open for further replies.
Level 7
Joined
Apr 30, 2007
Messages
322
Well im still a begginer at C++ but i have a problem , when it appeared the first time i just ended the test , but this is the same problem and i dont know why it is doing that.

Well the problem is that i wrote this
http://img188.imageshack.us/img188/5605/problempw.png

but the getline(cin, mystr);
(red marked)
is skipped by the program and it ignores the if and else that is next and does the if and then ends programm when its done... i dont know why its skipping when i start it its skips the part where the programm should wait on your answer on that what you write.

Thank you
 
Status
Not open for further replies.
Top