hello everyone
I am making a stack calculator. I have the code for the pop and push functions etc, but I have one problem. I need to convert all the numbers in the array to ints(doesnt have to be in the array). I have tried casting, and adding 0 to the number, but all they did was convert the number to the ascii representation. I tried atoi(), but apparently that will not work with one element of an array. Does anybody have any ideas? Thank you