
17 Mar
2005
17 Mar
'05
8:02 a.m.
hello int main(){ string str1="\t \nhello world! "; trim_if(str1, is_any_of("\t") ); // str1 == "hello world!" trim_if(str1, is_any_of("\n") ); // str1 == "hello world!" cout << str1; } I get the following output: #> hello world! #> Isn't it supposed to be: #> hello world! #> ??? -- Regards, Groleo! .''`. # touch universe : :' : # chmod +rwx universe `. `'` # ./universe `- Debian - when you have better things to do than fix a system