会员
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
陌上尘如玉
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2020年7月17日
数据结构_随机数
摘要: C++中随机数生成: (1)随机函数头文件<stdlib.h> (2)随机函数 rand() -- 没有范围 (3)#define random(x) (rand()%x) -- 表示生成x范围内的随机数
阅读全文
posted @ 2020-07-17 02:05 陌上尘如玉
阅读(256)
评论(0)
推荐(0)
2020年7月14日
数据结构3_静态链表
摘要: #include<stdio.h> #define maxsize 6 typedef int ElemType; typedef struct { ElemType data; int cur; } component; //1.创建备用链表 void reserverArr(component
阅读全文
posted @ 2020-07-14 23:39 陌上尘如玉
阅读(120)
评论(0)
推荐(0)
2020年7月13日
数据结构2_单链表
摘要: #include<stdio.h> #include<stdlib.h> typedef int ElemType; typedef struct node { ElemType elem; struct node * next; } LinkList; LinkList * initLink()
阅读全文
posted @ 2020-07-13 03:24 陌上尘如玉
阅读(93)
评论(0)
推荐(0)
数据结构1_顺序表
摘要: #include<stdio.h> #include<stdlib.h> #define maxsize 5 typedef int ElemType; typedef struct { ElemType * head; int length; int size; } Table; Table in
阅读全文
posted @ 2020-07-13 03:22 陌上尘如玉
阅读(84)
评论(0)
推荐(0)
上一页
1
2
3
公告