Originariamente inviato da anx721
Studiati la reference del C:

http://www.cplusplus.com/ref/


se s è un char*:

int x = atoi(s);
graaazie

apposto