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.
I don't know sorry I only use that on Unix system. =/ I didn't try to port this to non-Unix systems.
Why is this not portable to non-Unix systems? For example, instead of your custom str, which uses Unix syscalls, try using the standard prinf.
Oh ok, thanks' sorry i didn't understand that. Thanks to you :)! Now it's ok for the identation, it was my fault, i copy/paste my bitbucket :P
I don't know C but I'm sure someone else would love to help you out. I was just saying something because the indentation in the code looked like it was off: ie:
instead of just
so I wanted to make sure that the site didn't have a bug. Thanks for posting :)
I want to optimise this and make it better ^^' that's all, if you can help me to do that =).
What happened with the formatting? Was it a copy paste issue or did Codewars somehow mess it up?