多个字符串合并

#include <string.h>
#include <iostream>
using   namespace std;
int main()
{
 char d[256]="hello";
 //char *s=" word";
 char s[256]=" word";
 strcat(d,s);
 cout<<d;
 getchar();
 return 0;
}
原文地址:https://www.cnblogs.com/byfei/p/3112329.html