mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
void strcpy(char* p, const char * s)
|
||||
{
|
||||
const char * temp1 = s;
|
||||
char * temp2 = p;
|
||||
while(*temp1 != '\0')
|
||||
{
|
||||
*temp2 = *temp1;
|
||||
temp1++;
|
||||
temp2++;
|
||||
}
|
||||
*temp2 = '\0';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user