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.
make sure you put
i < length
instead ofi <= length
thank you so much, i see now,
thanks to your help now I can try finish the second part of the kata
thank you orz
is this '\0' null terminator?
i tried to remove it and I was still getting zero length
i also tried new[len+1]= '\0'
This comment is hidden because it contains spoiler information about the solution
why do we need
size_t i = 2
here?does size_t make
i
an array?This comment is hidden because it contains spoiler information about the solution
what is the slice(2,integer) here for?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution