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.
your
free
ing doesn't happen - it's after thereturn
asprintf
is not standardstatic size can be broken
*printf
needs%zu
forsize_t
in the last
sprintf
%i
must be%zu
instead :/strcat
spam is what happens when you don't know aboutsprintf
strcat
spam is what happens when you don't know aboutsprintf
static size can be broken
otherwise, one of the best per-the-standard solutions here
accessing
names[1]
if it's an array of length 1 is UBasprintf
is not standardnumber of
*printf
parameters not corresponding with number of parameters in input string is UBstatic size can be broken
1KiB on each new string is wasteful
asprintf
is not standardstatic size can be broken
wasting 2KB on each such string is wasteful...
static limit of 100 can be broken on long inputs
asprintf
is not standardasprintf
is not standardasprintf
is not standardLoading more items...