ulteriore domanda...

io ho una stringa su file di questo tipo :

123,124,125,...

codice:
int a;
file.get(c,20,',');
	.... = c ;
come faccio a portarlo da char ad int ???