Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to remove maximum number of characters in c++ cin,ignore

std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '
');
 
PREVIOUS NEXT
Tagged: #remove #maximum #number #characters
ADD COMMENT
Topic
Name
1+7 =