• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
嘎嘎嘎-嘎嘎嘎
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2018年4月18日

栈和栈的应用
摘要: #pragma once#include <stdio.h> void StackInit(Stack* s){ s->_array = (DataType*)malloc(sizeof(DataType) * 3); s->_capacity = 3; s->_top = 0;} // 入栈 vo 阅读全文
posted @ 2018-04-18 17:09 嘎嘎嘎-嘎嘎嘎 阅读(119) 评论(0) 推荐(0)
 
链表面试题(部分)
摘要: #pragma once#include <stdio.h>#include <assert.h>#include <malloc.h> typedef int DataType;typedef struct Node{ struct Node* _pNext; DataType _data;}No 阅读全文
posted @ 2018-04-18 17:03 嘎嘎嘎-嘎嘎嘎 阅读(330) 评论(0) 推荐(0)
 
 

2018年4月1日

链表的基本操作
摘要: #pragma once //1. 实现以下链表的基本操作,这部分作业是本次要交的typedef int DataType;typedef struct Node{ struct Node* _pNext; DataType _data;}Node, *PNode; //////////////// 阅读全文
posted @ 2018-04-01 08:18 嘎嘎嘎-嘎嘎嘎 阅读(140) 评论(0) 推荐(0)
 
 

2018年3月24日

静态顺序表的基本操作
摘要: #pragma once#define MAX_SIZE 10 typedef unsigned int size_t;typedef int DataType;#include<stdio.h>#include<assert.h>#include<memory.h>#include <stdlib 阅读全文
posted @ 2018-03-24 22:11 嘎嘎嘎-嘎嘎嘎 阅读(416) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3