Sorry for such a noob question :oops: :cry:/
My goal is to basically convert a char to int. I thought about using atoi, but it didn't work or I didn't use it correctly. Then I remebered atoi is for a null_terminating string. So I tried creating an array( x) and I put the data into slot 0 and null terminator in slot 1 as follows
x = 0x08;
x = '\0';
and then I put that in atoi and I got back nothing or some crazy shape.
answer = atoi(x);
Any help will greatly be appreciated