Anonymous user
Strip control codes and extended characters from a string: Difference between revisions
Strip control codes and extended characters from a string (view source)
Revision as of 20:38, 27 August 2011
, 12 years ago→{{header|C++}}
Line 78:
=={{header|C++}}==
<lang
#include <iostream>
#include <algorithm>
Line 89:
struct MyRandomizer {
char operator( )( ) {
return static_cast<char>( rand( ) %
}
} ;
|