/**
@author: Mathias Van Malderen (tux4life)
*/
void mystrcpy(char * s1, const char * s2)
{
    for(; *s1 = *s2; s1++, s2++);
}
2
Contributors
2
Replies
5
Views
7 Years
Discussion Span
Last Post by mvmalderen
0

Thanks for replying and oh, you're damned right :)
It's like I'm addicted to always use a for-loop, and in that way I practically don't use a while loop :P

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.