Wednesday, August 27, 2008

cin problem c++

The solution to the problem is to add two statements before cin.Those are

cin.clear();
cin.ignore();

No comments: