JimJoyce
05-23-2007, 11:27 AM
I feel such a fool.
Until a few years ago I was a C Instructor.
Now my C has become very rusty.
If I strcpy part of a string into an empty buffer,
how do I place a '\0' at the end of my new string?
Until a few years ago I was a C Instructor.
Now my C has become very rusty.
If I strcpy part of a string into an empty buffer,
how do I place a '\0' at the end of my new string?