自定义博客皮肤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)
  • 收藏
  • 关注

原创 tree.c

/*二叉树实现*/ #include"tree.h" #include<stdlib.h> #include<stdio.h> #include<string.h>static SeekItem( const Item * pi, Tree * ptree); static Node * MakeNode(const Item * pi); static bool ToLeft(const I

2016-09-30 22:51:20 638

原创 tree.h

/*二叉搜索树*/ /* 操作: */ /* 操作前: */ /* 操作后: */ #ifndef _TREE_H #define _TREE_H #include<stdbool.h>typedef struct item { char petname[20];/* 宠物名字*/ char petkind[20];/* 宠物种类*/ }Item;#define MAXITEMS 1

2016-09-30 22:49:59 969

原创 2016.09.29 mall.c

#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<time.h> #include"queue.h" #define MIN_PRE_HR 60.0/*有新顾客到来吗?*/ bool newcustomer(double x); /*设置顾客参量*/ Item customertime(lon

2016-09-29 20:25:34 228

原创 2016.09.29 queue.h

#ifndef _QUEUE_H #define _QUEUE_H #include<stdbool.h> /*在此处插入Item的类型定义*/ /*例如:*/ typedef int Item; /*或:typedef struct item{...} Item*/#define MAXQUEUE 10typedef struct node { Item item; struct

2016-09-29 17:28:39 221

原创 2016.09.29 use_q.c

#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<string.h> #include"queue.h"int main() { Queue line; Item temp; char ch; InitializeQueue(&line); puts("Te

2016-09-29 17:26:51 317

原创 2016.09.29 queue.c

#include<stdio.h> #include<stdlib.h> #include"queue.h"/*局部函数*/ static void CopyToNode(Item item, Node *pn); static void CopyToItem(Node * pn, Item *pi); void InitializeQueue(Queue * pq) { pq->front

2016-09-29 17:25:27 214

原创 2016.09.28 varargs.c

#define _CRT_SECURE_NO_WARNNINGS { do

2016-09-28 22:07:48 265

原创 2016.09.28 quicksort.c

#define _CRT_SECURE_NO_WARNNINGS

2016-09-28 22:00:27 236

原创 2016.09.28 list.c

#include<stdio.h>

2016-09-28 21:56:27 288

原创 2016.09.28 film.c

#define _CRT_SECURE_NO_WARNINGS

2016-09-28 21:52:08 316

原创 2016.09.28 list.h

无摘要

2016-09-28 21:47:46 237

原创 2016.9.28

2016.9.28主要知识点目录 1.条件编译——#ifdef #ifndef #if #endif 2.预定义宏和#line #error #pragma 3.内联函数inline 4.库——atexit() qsort() memcpy() memmojve() 5.可变参数stdarg.h(int ,…)——va_list,va_start, va_arg

2016-09-28 21:08:21 176

空空如也

空空如也

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

TA关注的人

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