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.
How different is this kata from https://www.codewars.com/kata/559c7b6e3c38b1d1b900006f, except the line break requirement (which is sort of trivial) and wrapping the formatted text inside a meme?
[C] Following my issue report, I would like to suggest the following modification to the function signature:
Here, the input parameter
msg
is labelledconst
preventing in-place modification. The second parameterbuf
is an output parameter which the callee can assume is large enough to fit the result. The caller then ignores the return value ofdecrypt()
and checksbuf
for the computed result.This setup has the following advantages:
buf
using any method (static, dynamic, etc.) deemed appropriate and pass thatbuf
to the calleeFinal note: do not worry about invalidating existing solutions, and apply this change to NASM (and C++, if you are using
char *
) as well if you decide to implement this suggestion.String translation is a duplicate.