随笔分类 -  数据结构

摘要:#include "stdio.h" #include "malloc.h" #define MAX 100 typedef char VertexType; int visited[MAX]; typedef struct node { int adjvex; struct node *next; 阅读全文
posted @ 2024-07-06 11:50 Dr丶云幕 阅读(9) 评论(0) 推荐(0) 编辑
摘要:查看代码 #include "stdio.h" #define MAXSIZE 100 typedef struct { char ch[MAXSIZE]; int Len; }String; int StrLength(String *S) { int i= 0; while(S->ch[i]!= 阅读全文
posted @ 2024-07-06 11:49 Dr丶云幕 阅读(8) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示