Posted by: rajeshHamal July 26, 2007
Login in to Rate this Post:
0
?
( Found on http site uw714doc.sco.com/en/SDK_c++/_Reverse.html )
String
reverse(String s)
{
String rslt;
for(int i=length(s)-1;i>=0;i--)
rslt += s.char_at(i);
return rslt;
}
See if it reverses a string. But first you have to convert your Number to string.