dnsvee is right, you need to nul-terminate the char array for it to be a valid string.
char two_letters[2] = {a, b}; // << here's your problem
C strings are zero terminated. So allocate 3 chars and add a 0 at the end. Or better yet use string::susbtr.
Loading collection data...
dnsvee is right, you need to nul-terminate the char array for it to be a valid string.
char two_letters[2] = {a, b}; // << here's your problem
C strings are zero terminated. So allocate 3 chars and add a 0 at the end. Or better yet use string::susbtr.