Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ ignore_line

#include <istream>

void ignore_line ( std::istream& in )
{
  char ch;

  while ( in.get ( ch ) && ch != '
' )
    ;
}
Source by www.daniweb.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
9+9 =