Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.
This comment is hidden because it contains spoiler information about the solution