1 Attachment(s)
Skipping the 2nd time run!
well the problem im facing with my program is that when i run it and enter the values for 1st booke and then i want to enter values for 2nd booke but it skips the title and go to author. its not allowing me to enter the title of booke for the 2nd book.
I'm attaching a .cpp project. please run it and hint me the problem that i'm facing with it !! Thanks
Re: Skipping the 2nd time run!
Quote:
Originally Posted by
joannesablad
...
I'm attaching a .cpp project. please run it and hint me the problem that i'm facing with it !! Thanks
Sorry, but there is no any attachment in your post.
Edit> well, now you have attached it... but why did you include Debug folders in the archive? Just to make the complete size 20 times bigger than needed? :eek::confused:
Re: Skipping the 2nd time run!
Quote:
Originally Posted by
VictorN
Sorry, but there is no any attachment in your post.
Edit> well, now you have attached it... but why did you include Debug folders in the archive? Just to make the complete size 20 times bigger than needed? :eek::confused:
Oopps.. okay i will remove the debugger file.. Except this kindly run the whole program and tell me the problem please?
Re: Skipping the 2nd time run!
The problem occurs when mixing getline() with operator >>
see : http://www.codeguru.com/forum/showthread.php?t=519630
Re: Skipping the 2nd time run!
So rather than learning to use the debugger as suggested, you're just going to keep asking people to debug your programs for you? That's going to get old.