1.请用上 strcat的源码 编一个最简单的c程序!急!!原生app打包源码!!wifi验证系统源码!98彩票源码!
请用上 strcat的源码 编一个最简单的c程序!急!!!!!如意时时彩源码!
#include <stdio.h>
#include <string.h>
char
*mystrcat (char* dst,gotv高清源码 粤语 char* src)
{
char *d;
if (!dst || !src)
return (dst);
d = dst;
for (; *d; d++);
for (; *src; src++)
*d++ = *src;
*d = 0;
return (dst);
}
main()
{
char outstr[];
strcpy(outstr,"she is ");
mystrcat(outstr,"Kitty!");
printf(outstr);
}