3. It might actually be quicker at run-time, depending on your implementation of memcpy.
Normally I would agree, but I don't think I can do that with this one...
memcpy is an optimized and fast function for copying memory, so it will probably be faster, if anything. Or should be.
Originally Posted by Adak
io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
Originally Posted by Salem
You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.
Outside of your DOS world, your header file is meaningless.