搜索资源列表
zhongxudiguiyufeidigui
- 中序递归与非递归,很简单的代码,请放心下载,无毒。-#include "stdio.h" #include"stdlib.h" #define MAXSIZE 20 typedef int datatype typedef struct Node { datatype data struct Node*lchild struct Node*rchild }Btnode,*Btree typedef struct {
TDDOWNLOAD
- #include <stdio.h> #include <math.h> #include <stdlib.h> #include <float.h> unsigned __int64 mulmod(unsigned __int64 a, unsigned __int64 b, unsigned __int64 m) { static const double _2_64 = 18446744073709551616
otp.tar
- opt c++ algorithm 2006 November 12 Added includes of <stdio.h> and <stdlib.h> to random.c to avoid a GCC -Wall natter about exit() not being defined. Modified all of the function names in random.c and references to t
matlabfun
- 信源函数 randerr 产生比特误差样本 randint 产生均匀分布的随机整数矩阵 randsrc 根据给定的数字表产生随机矩阵 wgn 产生高斯白噪声 信号分析函数 biterr 计算比特误差数和比特误差率 eyediagram 绘制眼图 scatterplot 绘制分布图 symerr 计算符号误差数和符号误差率 信源编码 compand mu律/A律 压缩/扩张 dpcmdeco DPCM(差分脉冲编码调制)解码 dpcmen
searching
- /* binarysearch() - A binary search implementation which takes the same * arguments as the C library function bsearch() provided by stdlib.h. It * searches the sorted array at address base, which has nmemb elements, each of * which is size b
client
- 服务器端口监听,实现端口的实时监听-#include <winsock2.h> #include <stdio.h> #include <stdlib.h> int TCount = 0 //MAX Thread numbers int ThreadNu
hw1
- 定时器 /*初始化curses*/ /*注册定时器*/ /*7位数据显示*/-#include <unistd.h> #include <stdlib.h> #include <signal.h> #include <math.h> #include <curses.h> #include <sys/time.h> #include <time.h> #include &l
lunzhuang
- 调度5个进程的进程调度算法 实现进程调度,系统 -5 program processore#include "stdio.h" #include <stdlib.h> #include <conio.h> #define getpch(type) (type*)malloc(sizeof(type)) #define NULL 0 struct pcb { /* 定义进程控制块PCB*/ char name[10] char state
Student-management-system
- 学生管理系统 程序构思 1函数声明是#include<iostream.h> #include<string.h> #include<fstream.h> #include<stdlib.h>用来调用exit() #include<iomanip.h>输入输出控制 2建立一个“student类”,学生资料包括学生姓名,课程成绩,名次,学号 3friend void main():允许了类外访问类中的任意成员
bashuma-
- 人工智能八数码问题实现八数码问题:在3×3的方格棋盘上,摆放着1到8这八个数码,有1个方格是 空的,其初始状态如图1所示,要求对空格执行空格左移、空格右移、空格上移 和空格下移这四个操作使得棋盘从初始状态到目标状态。 -#include <stdio.h>//定义变量 #include <stdlib.h>//定义变量 typedef struct s_node//定义创建节点 { struct s_node*father /
LL1
- 使用非递归子程序法设计一个语法分析程序,理解自顶向下分析方法的原理,掌握词法分析程序的设计原则,掌握手工编写语法分析程序的方法。-#include <tchar.h> #include <string.h> #include <stdlib.h>
color-map
- 地图上色 #include <stdio.h> #include <stdlib.h> #define MAX 100 typedef struct{int code int color }Area /*区域结构*/ typedef struct{Area a[MAX] int vn int en }Map /*地图结构*/ void CreateM(Map m)/*生成地图,并统
flight
- 1. 学习和掌握结构体和链表相关知识,掌握程序设计基本过程; 2. 简单的系统与功能分析,了解航班信息管理系统的需求,用C语言开发航班信息管理系统; 3. 建立数据结构链表,数据内容包括航班号、航线、起飞时间、到达时间、机型、所属公司、价格; 4. 编写实现程序功能的各个函数; 5. 建立一个测试数据表,包含十多条航班信息,进行数据测试; 6. 使用数据链表实现数据的:录入、查询、显示、删除、修改、排序、文件保存、系统退出等功能; 调试系统,处理少数系统出错,优化系统界面
include
- 在采用二叉链表存储的二叉树上,编程实现从根结点到指定结点之间的路径.-#include <stdio.h> #include <stdlib.h> typedef struct BTnode { char data struct BTnode*lchild,*rchild }BTNode #define NodeLen sizeof(BTNode) BTNODE*Creat_Bt(void) void Preorder
NStepSCAN
- NStepSCAN N步磁盘扫描调度算法C++程序-#include "stdafx.h" #include "stdlib.h" int L,P int a[20] int flag //访问位 typedef struct TASK { int requrie int io } TASK TASK T[50][50] TASK N[50] int diskway //当前磁道 void iod
juzhen
- 矩阵操作 c++实现 课程设计 #include <iostream.h> #include <stdlib.h> #include<iomanip.h> void fanzhuan1(int b[5][5]) void fanzhuan2(int b[5][5]) void juandong1(int b[5][5]) void juandong2(int b[5][5]) void print(int b[5]
C-qsort-bsearch-weekday
- 三个程序: 应用stdlib.h的快速排序、二分查找; 一个我自己写的计算星期几的程序。-quicksort binarysearch weekday
CIni
- ini 文件解析器(类),将ini文件的读写等操作进行了封装,使用标准的输入输出等简单的库(string、stdio、stdlib),输入文件名 段名 条目名就可以解析出结果。通过ReadInt(),ReadString(),Write()3个主要函数实现。-an implementation of initialization file parser, only few stand libs needed(sting.h, stdio.h, stdlib.h), 3 main function
WinRAR-ZIP
- 在C++用递归实现链表逆序 使得倒序输出。-#include <stdio.h> #include <stdlib.h> #include <time.h> const int M=10 typedef int Type typedef struct Node{ Type data struct Node* next }Node void add_elem(Node**head,Type data){ Node
DSPchufa
- 在dsp上的除法实现,#include<c8051f320.h> #include<stdlib.h> #include<stdio.h> #include<math.h> -In the division on DSP realize,# include < c8051f320. H > # include < stdlib. H > # include < stdio. H > #