自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

我是一只小小鸟,想要飞却怎么也飞不高

成功三要素:1不要脸2坚持3坚持不要脸

  • 博客(13)
  • 收藏
  • 关注

原创 寒假虚度5天之小思考

一个绝对的初学者,对hibernate这个中间件的简单理解

2014-01-24 22:02:58 985

原创 HTML语言简易计算器

小键盘 function Button_onclick(num) { if(Text1.value=='0') Text1.value=num; else Text1.value=Text1.value + num; } function Button17_onclick(){ Text1.value=Text2.value+Text1.value; Text1.value

2013-03-07 22:33:43 1358

原创 哈夫曼编码

#include "stdio.h" #include "stdlib.h" #define N 10 int A[2*N];//标志数组,用于Select函数 typedef struct { char value; int weight; int parent; int lchild; int rchild; }HTNode;//HuffManTree结点 typedef struc

2013-01-17 23:02:08 836

原创 数据结构邻接表的建立以及两种遍历

静下心,去思考,思路便会清晰,程序基本框架便会浮现在脑海中 #include "stdio.h" #include "stdlib.h" #define MAX_VEX_NUM 20 #define OK 1 #define ERROR 0 typedef int Status; int visited[20]; 第一部分   存储结构 typedef struct ArcNode {

2012-12-16 20:21:59 753

原创 数据结构图的数组表示法以及深度,广度遍历

#include"stdio.h" #include"stdlib.h" #define MAX_VERTEX_NUM 10 #define OK 1 #define ERROR 0 #define OVERFLOW -1 #define maxsize 100 typedef int QElemType; typedef int VRType; typedef int InfoType; typ

2012-12-15 22:06:06 1751

原创 C语言函数指针小结

C语言(谭浩强第五版)函数指针复习 怎样定义一个函数指针:指针类型名 (*指针变量名)(函数参数表列)//参数表列中只需给出参数类型即可 /* 8.5.3 (8.22)*/ #include "stdio.h" void main() { int max(int x,int y);//函数申明 int a,b,c; int (*p)(int,int);/*第一个int表示函数值类

2012-11-18 20:31:07 765

原创 数据结构二叉树的建立以及递归遍历

/* Note:Your choice is C IDE */ #include "stdio.h" #include "stdlib.h" #define OK 1 #define ERROR 0 #define OVERFLOW -1 typedef char TElemType; typedef int Status; /*************struct***************/

2012-11-18 15:14:13 962 4

原创 数据结构循环队列以及打印杨辉三角

#include "stdio.h" #include"malloc.h" #include"stdlib.h" #define OK 1 #define ERROR 0 #define OVERFLOW -1 #define maxsize 100 typedef int QElemType; typedef int Status; /******************struct******

2012-11-18 15:08:18 1317 1

原创 数据结构(C语言版)链队列的基本操作

#include"stdio.h" #include"malloc.h" #include"stdlib.h" #define OK 1 #define ERROR 0 #define OVERFLOW -1 typedef int QElemType; typedef int Status; /***************存储结构**************/ type

2012-11-18 15:03:37 1096

原创 数据结构栈应用括号匹配

#include #include #include"stdlib.h" #define stack_init_size 100 #define stackincrement 10 #define ok 1 #define error 0 #define overflow -1 typedef int s

2012-11-18 14:57:33 607

原创 数据结构(C语言版)栈的实现进制的转换

/* Note:Your choice is C IDE */ #include "stdio.h" #include #define ok 1 #define error 0 #define overflow #define stack_init_size 50 #define stackincrement 5 typedef int status; typedef int selemtype;

2012-11-18 14:55:18 1204 2

原创 数据结构(c语言版)链表的实现以及合并

/* Note:Your choice is C IDE */ #include "stdio.h" #include"malloc.h" #include"stdlib.h"//包含exit()函数的头文件,以及system("pause") #define OK 1 #define error 0 #define OVERFLOW -1 typedef int Status; typedef

2012-11-18 14:50:30 1237

原创 c语言实现数据结构顺序表源代码

#include #include #include"stdlib.h" #define list_init_size 100 #define listincrement 10 #define ok 1 #define error 0 #define overflow -1 typedef int elemtype; typedef

2012-11-18 14:39:53 1365

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除