• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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