![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
课程作业
New灬soul
编程,编程,编程。。。。。。。
展开
-
后缀中缀表达式
#include "stdio.h" #include "conio.h" #include "string.h" #include "stdlib.h" #define null 0 typedef struct node {char item[20]; struct node *next;}node,*stack;//定义链式堆栈元素类型以及堆栈类型 typedef st转载 2015-10-21 18:01:19 · 386 阅读 · 0 评论 -
COCOS2d + VS2013 + Python创建一个C++游戏项目
这是最后一周了,最后我们的C++课要做一个游戏,对于我这种比较懒的,外加是一个C++小白,就是在网上找一些源码,搭建一个环境,把Demo运行以来就可以了。这个事情我也是弄了一个晚上加一个上午,从小白到懵懂。。各种百度搜索,接下来我总结一下,从最开始小白开始,如何用COCOS2d + VS2013 + Python搭建一个C++游戏项目。首先第一步,你要有这些工具VS2013 、cocos2d、py原创 2017-06-27 22:16:32 · 2366 阅读 · 0 评论 -
希尔排序 快速排序 堆排序的实现
#include void insert_sort(int * array , int start , int step , int len) ; void show_sort(int *array ,int len) ; void shell_sort(int *array , int len ); void quite_sort(int * array ,int len ) ; int so原创 2015-12-23 14:20:40 · 441 阅读 · 0 评论 -
邻接表的深搜与广搜遍历
#include #include #include #define N 10 #define INFINITY 32768 #define True 1 #define False 0 #define Error -1 #define Ok 1 typedef enum{DG,DN,UDG,UDN}GraphKind; typedef char VertexType; //边结点原创 2015-12-02 12:58:29 · 730 阅读 · 0 评论 -
二叉排序树的删除与插入
#include #include #define TRUE 1 #define FALSE 0 /* 二叉排序树的节点结构定义 */ typedef struct BiTNode { int data; struct BiTNode *lchild, *rchild; } BiTNode, *BiTree; int SearchBST( BiTree T, int key, BiTre原创 2015-12-16 13:56:22 · 540 阅读 · 0 评论 -
创建哈佛曼树并求出哈弗曼编码
#include #include #include #include using namespace std; struct hTNode{ unsigned int weight; unsigned int parent,lchild,rchild; }; typedef hTNode* huffTree; //定义一个双重指针来存放Huffman编码 ty原创 2015-11-18 13:20:32 · 1155 阅读 · 0 评论 -
树的递归非递归实现前中后遍历,和求度为0 1 2的节点数和树的深度
#include #include #include #include #include using namespace std; //int count=0; typedef struct _Node { char data; struct _Node *lchild; struct _Node *rchild; }Node,*Tree; Node *Cr原创 2015-11-12 14:15:46 · 522 阅读 · 0 评论 -
字符串的块链实现
#include #include #include #include #define CHUNKSIZE 8 // 块大小 char blank = '#'; typedef struct Chunk { char ch[CHUNKSIZE]; //块的数据域 struct Chunk *next; //块的指针域 }Chunk; typedef struct { Chunk原创 2015-10-29 11:08:27 · 737 阅读 · 0 评论 -
修复Office工具
https://aka.ms/diag_97275原创 2018-12-07 10:10:00 · 27851 阅读 · 0 评论