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 understand , so strcat concatinate the result and src and in result itself?
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
This comment is hidden because it contains spoiler information about the solution
Great resolution and easy to understand. Thank you!
Hey, I am still learning c and was wondering if you could use sprintf instead?
Well, that's what I did. Why should I think (or how should I realize) that it's bad? ... P.S. it occurs to me after a few minutes that I'm testing and choosing every time
qsort_r
callscmp
and not just the one time. If that's the only reason, I guess it's bad enough.Ha, didn't know about asprintf(), and overlooked it when looking at snprintf() manpage, thanks!
This comment is hidden because it contains spoiler information about the solution