自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (3)
  • 收藏
  • 关注

原创 优先级队列

#include using namespace std;int n,h[101];//交换函数void sawp(int x, int y){int t;t = h[x];h[x] = h[y];h[y] = t;}//向下排序void siftdown(int i){int t, flag = 0;while (i * 2

2014-11-25 19:59:49 464

原创 二叉搜索树之字符串的创建和遍历

#include #include using namespace std;//树的结构体typedef struct node{char data[20];struct node *left, *right;}*ptree, pnode;//搜索二叉树的根节点ptree creategen(char c[]){ptree t;t =

2014-11-25 18:07:37 850

原创 二叉搜索树的创建及其遍历

#include using namespace std;//树的结构体typedef struct node{char data;struct node *left, *right;}*ptree,pnode;//搜索二叉树的根节点ptree creategen(char c){ptree t;t = (ptree)malloc(sizeof(

2014-11-25 11:09:09 539

原创 二叉树的创建和递归遍历和非递归遍历

// 二叉树789.cpp : 定义控制台应用程序的入口点。//// 极限二叉树.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "stdio.h"#include "stdlib.h"#define maxsize 100//树的结构体typedef struct tree{c

2014-11-06 20:59:47 519

原创 链队列的初始化,入队,出队,计算队的长度,遍历链队销毁队列

#include "stdio.h"#include "stdlib.h"typedef struct node{int data;struct node *next;}*pnode;typedef struct queue{pnode front;pnode rear;}*pqueue;//初始化队列pqueue init(pqueue

2014-11-02 17:53:02 10515 2

原创 顺序队列的入队,出队,遍历队列计算队列的长度

#include "stdio.h"#include "stdlib.h"#define N 100#define TRUE 1#define FALSE 0typedef struct queue{int data[N];int front, rear;}*pqueue,lqueue;//置空队列int empty(pqueue p){

2014-11-02 17:48:34 9310 2

原创 顺序栈的置空入栈出栈和返回栈顶元素

#include "stdio.h"#include "stdlib.h"#define MAXSIZE 100#define OK 1#define FALSE 0//顺序栈结构体typedef struct stack{int data[MAXSIZE];int top;}*pstack, stack;//置空顺序栈int empty(pst

2014-11-01 15:21:32 3950

原创 链栈的置空入栈,出栈,和返回栈顶元素操作

#include "stdio.h"#include "stdlib.h"#define N sizeof(struct stack)typedef struct stack{int data;struct stack *next;}*pstack;//置空链栈pstack empty(pstack top){top = NULL;print

2014-11-01 15:18:19 2939

原创 C语言实现链表的头插,尾插,插入,修改,删除和遍历

#include "stdio.h"#include "stdlib.h"#define N sizeof(struct node)//链表结构体typedef struct node{struct node *next;int data;}*pnode;//条件创建链表(头插)pnode create1(){pnode head,p,q;

2014-11-01 15:14:58 1323

原创 wordpress与xampp来搭建,建站环境

WordPress是一款安装使用简单方便而且功能强大的建站平台,最主要的是免费哟,喜欢自己建站的朋友们可不要错过哟!xampp是一个功能强大的建站集成软件包,易于安装且包含 MySQL、PHP 和 Perl 的 Apache 发行版。XAMPP 的确非常容易安装和使用:只需下载,解压缩,启动即可。1安装直接next就可以,此处不做详解。2.安装完成后会弹出如下的调控窗口,第

2017-10-08 21:58:14 540

原创 C++中vector容器的使用方式和函数调用

#include vector是一种顺序容器,和数组差不多但是比数组更优越,数组不支持动态扩展但vector容器支持动态拓展因此vector不存在浪费内存和越界的问题,随机访问比较快但是在中间插入和删除慢,在末端插入和删除比较快,可以用at()作越界检查一、  定义和初始化Vector v1;       //默认构造函数v1为空Vector v2(v1);//v2是v1的一个

2014-11-26 20:52:00 6792 1

原创 调用C++中的栈,队列和优先级队列库函数

C++中栈和队列的调用使用标准库中的栈和队列,相关头文件#include #include 定义栈如下:stack stk;1.s.empty() 如果栈空就返回true,否则返回false;2.s.size() 返回栈中元素的个数3.s.pop() 删除栈顶元素但不返回值4.s.top() 返回栈顶元素但不删除该元素5.s.push() 在栈顶压入

2014-11-26 20:48:40 1558

com.springsource.org.aopalliance-1.0.0.jar

java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor 解决包

2017-10-07

SQLite_Expert_Professional SQLite数据库

QLite数据库 破解版 无需秘钥 下载就可以使用

2017-05-04

sqljdbc4-2.0.jar

SQL2012 超好用,假一赔十

2017-05-02

空空如也

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

TA关注的人

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