搜索资源列表
无向图的邻接表生成和显示
- 这个源程序是关于无向图的邻接表生成和显示的,可以用这个程序实现-the source of the undirected graph generation and adjacent table shows, this procedure can be used to achieve
重言式判别问题
- 逻辑表达式从终端输入,长度不超过一行。逻辑运算符包括“|”、“&”和“~”,分别表示或、与和非,运算优先程度递增,但可有括号改变,即括号内的运算优先。逻辑变元为大写字母。表达式中任何地方都可以含有多个空格符。 若是重言式或矛盾式,可以只显示“True Forever”或“False Forever”,否则显示“Satisfactible”以及变量名序列,与用户交互。若用户对表达式变元取定一组值,程序就求出并显示逻辑表达式的值。-logic expression from the termin
Simulate_Process_Scheduling_Implement_by_C
- 模拟进程调度的C语言实现 一、 实验目的 体会UNIX 系统的进程调度方法,并通过一个简单的进程调度模拟程序的实现,加深对进程调度算法,进程切换的理解。 二、 实验内容 采用静态优先数的方法,编写一进程调度程序模拟程序。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时,显示出当前运行的“PCB名字”、优先数、运行时间等,而不需要对系统中真正的PCB等数据进行修改。-C UNIX Two experimental use of static
firstfit
- 装箱问题的首次适应firstfit方法实现。VC开发图形界面显示。每次点击一下运行按钮装入一个箱子。箱子大小随机生成-crates of the first to adapt firstfit method. VC graphical interface shows. Each button click operation packed a box. Box size random generation
Expression-D.S.Report2
- 数据结构课程设计报告,算术表达式求值,自动辨别算符优先级,括号,将char型转换成int计算,再将结果显示,具有精美用户界面-data structure curriculum design, arithmetic expression evaluates automatically identify operator precedence, in brackets, char to int conversion type, the result shows that the user inte
wuhan-traffic
- 一、 目的: 对应数据结构课程所学的基本原理和方法,学习图状结构求最短路径的算法,将理论知识运用于实际。 二、 任务: 请根据附图和附表,设计一个武汉市交通导引系统。用户输入起点站和目标站,系统显示起点站到目标站的最短路径。 三、 要求: 1. 提示用户输入起点站和目标站 2. 系统向用户显示一条最短路径(经过站数最少的路线),如果有两条以上最短路线,则按换乘次数排序显示。 3. 显示每一条路线时,不仅要显示应搭乘的车次,还要显示应搭乘站的站名。 四、 提示:
yueli
- 利用元年元月元日(即1年1月1日)是星期一的已知事实,编写程序,输入任意一个年份,然后再输入任意一个月份,由程序负责在屏幕上显示出这一个月的月历。-January Xianming the first year of use (that is, one year on January 1) is the known facts Monday, programming, an arbitrary importation year, and then a month to import arbitr
xiyangqishi
- 有多种方法喔!西洋棋中骑士的走法与象棋的马类似,只能横向二格,纵向一格或者横向一格,纵向两格(但是西洋棋棋子必须放在格子中),第1步有2种走法,第二步就有5种走法.今有5*5的棋盘,并将骑士的第一步放于左上角(0,0)的位置,试找出一个路径,使骑士在25步内把剩下的24个位置全部走完.输出结果时,将骑士的路径显示于的5*5的方格中,每一方格内显示出走到此方格内为第同步的数字. -are many ways! Chinese chess knight of the law and take a h
显示时间
- 显示当前系统时间,日期,,并用几中不同的格式输出-shows the current system, date, time, and used several different output formats
POJ_report.rar
- 总共80多道题的POJ详细解题报告,每道题带ppt说明,很好很强大 ,A total of more than 80 questions the POJ report detailed problem-solving, with each title ppt shows that a good strong
binary_tree
- 文本为一个用c语言编写用于产生一个二叉树的源码文本。以三元组形式输入任意二叉树(以大写字母表示结点),求以任意一选定结点为子树的深度。如,在输入示范题中的二叉树之后,程序显示:Please select a node: 输入 ‘B’,回车后,程序显示‘3’。-Text for a written in c used to produce a binary tree source text. With three yuan group form input arbitrary binary tre
PAIXU
- 这是用QB编的排序程序。利用条形显示冒泡排序、快速排序、等五种排序方法。 效果一流,对于C语言,数据结构爱好者是不错的选择。-This is the sort made by QB procedures. Strip shows that the use of Bubble Sort, Quick Sort, five sorting method. The effect of first-class, for C language, data structure enthusiasts is
Page-out-algorithm
- 操作系统算法演示,页面淘汰算法的c语言演示,比较简单-Algorithm demonstrates the operating system, page-out algorithm c language shows, a relatively simple
huffman
- 一份huff_tc.c,只能在tc下运行,因为加入了用tc图形界面直观画出树形的代码。一份是huff_vc.c,是在vc和tc下都能运行的程序,没有直观表达编码的树形结构。 [目的] 构建所输入符号(及权值)的哈夫曼树,并利用该树求出各符号的编码,深入理解最优二叉树的概念及其特性。 [问题描述] 读入各个符号及其权值,求各符号的哈夫曼编码。 [基本要求] (1)读入各个符号及其权值,建立哈夫曼树; (2)利用建立的哈夫曼树对各符号进行编码,输出编码结果。 [
Btree
- 二叉树应用,显示树形结构 对于任意的树型结构按从上到下,从左到右的方式显示出来,要求父结点在子结点的左上方,结点之间不需要连线。-Tree applications, shows that for any tree by the tree structure from top to bottom, left to right show the way, asked the parent node in the upper left sub-node, between nodes do not
people_manage
- 主要实现人员管理功能,包括:按照姓名\编号搜索,按照姓名\编号删除,显示全体人员,加入人员,退出等功能.-The main achievement of personnel management functions, including: In accordance with the names of \ code search, in accordance with the name \ code removed, shows all the staff, joined the staff,
HashTableApp
- 简单的HASH,显示简单的哈希算法,算是一个例子新手见谅-Simple HASH, shows a simple hash algorithm will be forgiven as an example of new
1
- 说明 1. 本文是对严蔚敏《数据结构(c语言版)习题集》一书中所有算法设计题目的解决方案,主要作者为一具.以下网友:biwier,szm99,siice,龙抬头,iamkent,zames,birdthinking,lovebuaa等为答案的修订和完善工作提出了宝贵意见,在此表示感谢 2. 本解答中的所有算法均采用类c语言描述,设计原则为面向交流、面向阅读,作者不保证程序能够上机正常运行(这种保证实际上也没有任何意义) 3. 本解答原则上只给出源代码以及必要的注释,对于一些难度
LL1wenfapanding
- LL(1)文法使用的是确定的自顶向下的分析技术。LL(1)的含义是:第一个L表明自顶向下分析是从左向右扫描输入串,第2个L表明分析过程中将使用最左推导,1表明只需向右看一个符号便可决定如何推导,即选择哪个产生式(规则)进行推导。-LL (1) grammar is used to determine the top-down analysis techniques. LL (1) the meaning is: the first show that L is top-down analysis
222
- 实现了二叉树的相关操作,大致包括如下内容:1 建树 2 各种遍历:前序 中序 后序 层次遍历 3 搜索 4 插入 5 删除 6 显示等。 -Related to the achievement of a binary tree operation, generally include the following: 1 contribution to the various traverse 2: pre-order level in the traversal sequence after
