I am having problems using the atoi() function where i have 2 char arrays which i want to turn into integers. So say
Doing a print on newWindow gives me a value of = "1234009" and newSize = '90'. Do I have to close atoi? It seems like its appending everything to the same value. Which is not what we want.Code:char window[4] = ('1','2','3','4') char size[4]= ('0','0','9','0') newWindow = atoi(window); newSize = atoi(size);
Thanks