how would i remove all the white space from an istream and replace them with "-" before producing an ostream?
[QUOTE=Ancient Dragon;889401] What??? That will not replace white spaces with '-' character. [/QUOTE] Why not? Am I missing the point completely or what? input: [code] hello test test hello 1 2 3[/code] output: [code] hello-test-test-hello-1-2-3-[/code] Voila, all whitespace has been replaced with "-". That's what the OP wanted right? And … Read More