会员
周边
新闻
博问
闪存
众包
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
志恒砚安
博客园
首页
新随笔
联系
订阅
管理
2021年1月4日
二叉树
摘要: #include <iostream>#include <stack> using namespace std; typedef struct bitreenode{ char data; struct bitreenode *lchild,*rchild;}*Bitree; //创建二叉树void
阅读全文
posted @ 2021-01-04 11:11 志恒砚安
阅读(123)
评论(0)
推荐(0)
2020年12月28日
单链表
摘要: #include <stdio.h>#include <stdlib.h>//#define NUM 8//定义单链表结点类型typedef struct node{ int data; struct node* next;}linklist; //创建单链表linklist* creat(){ l
阅读全文
posted @ 2020-12-28 11:44 志恒砚安
阅读(79)
评论(0)
推荐(0)
C++基础总结
摘要: 1.头文件 : #include<iostream> //包含头文件 2.命名空间: using namespace std; 3.对象定义: int z(0); //等同于 z = 0 4.函数声明: int result(int,int); 5.#define 为宏定义,定义常量。 6.函数重载
阅读全文
posted @ 2020-12-28 11:34 志恒砚安
阅读(207)
评论(0)
推荐(0)
公告