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.
Fine, but just my Two suggestions:
1-#defines should be used in place of "magic numbers".
2-Missing check of tmp against NULL pointer. tolower(tmp[0]) with tmp pointing NULL crashes.