revers a string in c++
pascal routines to reverse a string