 |
cin.ignore() in C++ - Java samples - Programming tutorials on Java, C, C++, PHP, ASP
At times you want to ignore the remaining characters on a line until you hit either end of line (EOL) or end of file (EOF). The member function ignore() serves this purpose. ignore() takes two parameters, the maximum number of characters to ignore and the
www.java-samples.com |
 |