PROWAREtech
C/C++: strcat Procedure
Concatenate ASCII c-string.
char * strcat (char * dst, char * src)
{
char * cp = dst;
while( *cp )
++cp;
while( *cp++ = *src++ );
return dst;
}
Comment
char * strcat (char * dst, char * src)
{
char * cp = dst;
while( *cp )
++cp;
while( *cp++ = *src++ );
return dst;
}
This site uses cookies. Cookies are simple text files stored on the user's computer. They are used for adding features and security to this site. Read the privacy policy. |