Cita:
Iniciado por cronopiomx
Hola, podrias usar la funcion reverse() y te funciona, he aqui 1 ejemplo
Código:
#include <iostream>
#include <algorithm>
#include <string>
using namespace std;
int main ()
{
string a = "90800";
reverse(a.begin(), a.end());
cout<<a;
system("pause");
}
Estamos en C, no en C++ :P