Last active
June 11, 2018 01:26
-
-
Save dragen1860/b2446c937e7a2a5a8c8c9eb9b62e3580 to your computer and use it in GitHub Desktop.
copy_.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool copy_(void* src, void* dest) | |
{ | |
void* psrc = src; | |
void* pdest = dest; | |
while(*psrc!=0) | |
{ | |
*pdest = *psrc; | |
psrc++; | |
pdest++; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment