#include<stdio.h>#include<stdlib.h>#define MAXSIZE 100typedef struct string //顺序串的结构体{ char ch[MAXSIZE + 1]; int length;}string;int StringAssign(string *S, char chs[]) //生成一个其值等于字符串常量chs的串S{ int i = 0; while
C++
2023-09-01
133 点赞
2 评论
201 浏览