Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/03/2010, 17:32
stiwi222
 
Fecha de Ingreso: noviembre-2009
Mensajes: 186
Antigüedad: 14 años, 5 meses
Puntos: 2
Respuesta: Convertir integer a string en C++

he encontrado este codigo:
Código C:
Ver original
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.    int foo = 10;
  5.    char buf[33];
  6.    sprintf(buf, "%d", foo);
  7. }
no se si te servira