1.请用上 strcat的源码 编一个最简单的c程序!急!!coolrar 源码!!设备点检系统源码!midi播放源码钢琴!
请用上 strcat的源码 编一个最简单的c程序!急!!!!!lua选择角色源码!
#include <stdio.h>
#include <string.h>
char
*mystrcat (char* dst,ip授权站源码 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);
}
2024-12-26 15:20
2024-12-26 15:03
2024-12-26 14:28
2024-12-26 13:58
2024-12-26 13:57
2024-12-26 13:55