my programm is not working and i don't expect somebody to make it work. it's just that u know what my problem is.
example:
soldg@as6~> calc 17 + 5
17 + 5 = 22
how do i transform this string in integer???????????
my programm is not working and i don't expect somebody to make it work. it's just that u know what my problem is.
example:
soldg@as6~> calc 17 + 5
17 + 5 = 22
how do i transform this string in integer???????????
first you have to parse the string for it's individual tokens maybe using strtok. Then you need to convert the individual tokens into numbers by using atoi() or atof().
zMan