PDA

View Full Version : [C++] Conversione esadecimale a decimale


TEX67
10-11-2010, 07:27
Ciao a tutti , volevo sapere come posso convertire una stringa che contiene un valore esadecimale in un intero o in una stringa che contiene il valore decimale.

Grazie a tutti.:help:

tomminno
10-11-2010, 09:17
std::stringstream is(hexString);
is >> std::hex >> outputInt;