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.
Don't forget the spoiler flag, please.
This comment is hidden because it contains spoiler information about the solution
This translation was done when I had just started translating to C. I can't recall if
C18
was available then or only3.6
. When I became aware ofC18
I began translating with that as my standard. So, seeing what's up with this kata suggests I go check out my other old translations as I have with this one. Today I gave this translation the royal treatment: by adding theNULL
check you mentioned, providing better feedback for failed code, and (of course) eliminating all of those 32 warnings.You mean compilation warnings ?
Other than a shitton of warnings, kata works fine in C.
Great point, I swing languages very often and some don't have that notation so that betrayed me here
In my defence, if the Kata really required this then the Kata test code should have enforced it.