Or you can just add cin.ignore() before getline. ignore() function (as its name says) ignore any previous input so you will be able to enter book name.
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
Type: Posts; User: pro_RI
Search: Search took 0.00 seconds.
Results 1 to 1 of 1
Click Here to Expand Forum to Full Width