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.
it means you returned an object instead of a function. if a constructor returns a non-primitive, this is what
new
evaluates to; and functions are not primitivesOP solved it closing!
C version of the kata requires you to return a dynamically allocated, two-element array (which sucks, and I will probably change it, but that's how it is now).
Do you return a pointer to a dynamically allocated buffer?