Talk:Reverse characters in a string

From CodeCodex

The current C++ implementation is a bit pants. Firstly, it doesn't reverse a string to produce a string, it prints the string in reverse directly. Secondly, it is more like idiomatic C than C++. IMHO, it should use the STL basic_string<> and apply the STL "algorithm" reverse.

Hey -- I agree -- this should be changed to a method that returns the reverse string, not just printing it out, that's lame. -Nostromo 13:53, 17 August 2006 (CDT)