1.请用上 strcat的源码 编一个最简单的c程序!急!!c 操作word源码!!单网页源码获取!网页fc游戏源码!
请用上 strcat的源码 编一个最简单的c程序!急!!!!!快店通源码!
#include <stdio.h>
#include <string.h>
char
*mystrcat (char* dst,智慧农场2.2源码 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);
}