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.
You are perfectly correct, this is not standard and very bad practice. It would not compile on MSVC. I did not know about
void *
arithmetic at the time I solved this kata, I wish there was a way to warn users about it, like passing-Wpointer-arith
to the compiler. You can program for months on GCC/clang and not realise this (and other things) are not standard.Compiler extensions are evil sometimes :(
Fixed