I'm trying to use sprintf to get a string value into a char array, but I think it's only getting the last terminated null value for some reason...
EDIT: nevermind looks like it was because I wasn't copying the value from strtok correctly
I'm trying to use sprintf to get a string value into a char array, but I think it's only getting the last terminated null value for some reason...
EDIT: nevermind looks like it was because I wasn't copying the value from strtok correctly
Last edited by jjwooyoung; 11-11-2016 at 12:23 AM.