提交 48a1297a 创建 作者: 宋海霞's avatar 宋海霞

modify

上级 bdf3dfb7
...@@ -3,33 +3,33 @@ ...@@ -3,33 +3,33 @@
// //
// 在此处包含 C 标准库头文件 // Include the C standard library header file here
// //
#include <stdio.h> #include <stdio.h>
// //
// 在此处包含其他头文件 // Other header files are included here
// //
// //
// 在此处定义数据结构 // Define the data structure here
// //
#define MAX_LENGTH 20 // 字符串的最大长度 #define MAX_LENGTH 20 // The maximum length of a string
typedef struct { typedef struct {
char data[MAX_LENGTH]; // 使用数组存储字符串中的字符,数组的最大长度即为字符串的最大长度。 char data[MAX_LENGTH]; // An array is used to store the characters in a string, and the maximum length of the array is the maximum length of the string.
int nLength; // 字符串的实际长度,即数组中字符的个数。 int nLength; // The actual length of the string, the number of characters in the array.
}SeqString; }SeqString;
// //
// 在此处声明函数 // Declare the function here
// //
int InsertBefore(SeqString* pSource, int pos, SeqString* pTarget); int InsertBefore(SeqString* pSource, int pos, SeqString* pTarget);
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论