mirror of
https://github.com/CodePanda66/CSPostgraduate-408.git
synced 2023-05-21 21:49:33 +08:00
✨ ADD DS_3_x_string
This commit is contained in:
12
DataStructure/DS_3_String/DS_3_2_LString.cpp
Normal file
12
DataStructure/DS_3_String/DS_3_2_LString.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// Created by kim yang on 2020/8/8.
|
||||
//
|
||||
|
||||
//链式存储
|
||||
#include <stdio.h>
|
||||
|
||||
typedef struct StringNode{
|
||||
char ch;//每个结点存1个字符,存储密度低,每个字符1B,每个指针4B
|
||||
struct StringNode *next;
|
||||
}StringNode,*String;
|
||||
|
||||
Reference in New Issue
Block a user