0
how to make input string (-1) into integer -1 in C?
if i input string 100(-1)0, i want to change it into 5 integer, 1,0,0,-1,0
1 Respuesta
+ 1
To transform strings into integers, see that link
http://www.cplusplus.com/reference/string/stoi/
if i input string 100(-1)0, i want to change it into 5 integer, 1,0,0,-1,0