数据结构示例之链接字符串

 如下为“链接字符串”的简单示例code 1. 用c语言实现的版本blog #include <stdio.h> #include <string.h> #define MAXLENGTH 128 /* //链接字符串 void catstr(char *dest, char *sour) { int destLength = strlen(dest); int srcLength =
相关文章
相关标签/搜索