Hi,
Il 14/04/21 14:57, Henri Verbeet ha scritto:
You pretty much never want to use strcpy(). In this particular case, we already calculated the string length above, and could use memcpy().
Why?
In this case I agree, since you already know the length. But is there a general reason for not wanting to use strcpy?
Thanks, Gio.