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.
May be after converting string to char array null-terminate '\0' is absent at the end of char array
This is not how you raise an issue. You need to provide clear logs, inputs, outputs... In brief, you must prove there is an issue, not make blur assumptions. Most issues raised are mistakes of OP.
See there: https://docs.codewars.com/training/troubleshooting/
I tried this and it didn't work, why would adding null's to a string solve this issue anyway?
I cout my output before returning the string and it's identical to the answer, but throws an error for some reason.
Thanks a lot!!
Thanks a lot! It helps me very much!
This comment is hidden because it contains spoiler information about the solution
And you need to add exactly that number of '\0' chars.
This comment is hidden because it contains spoiler information about the solution
Thanks for the workaround
wizzerd
!Thanks wizzerd, that does the trick.
Thanks for your posts!