编程题(15_01.c) 结构 struct student { long num char name[20] int score struct student *next } 链表练习: (1).编写函数struct student * creat(int n),创建一个按学号升序排列的新链表,每个链表中的结点中 的学号、成绩由键盘输入,一共n个节点。 (2).编写函数void print(struct student *head),输出链表,格式每行一个结点,包括学号,姓名,分数。 (3).编写函数struct student * merge(struct student *a,struct student *b), 将已知的a,b两个链表 按学号升序合并,若学号相同则保留成绩高的结点。 (4).编写函数struct student * del(struct student *a,struct student *b),从a链表中删除b链表中有 相同学号的那些结点。 (5).编写main函数,调用函数creat建立2个链表a,b,用print输出俩个链表;调用函数merge升序合并2个 链表,并输出结果;调用函数del实现a-b,并输出结果。 a: 20304,xxxx,75, 20311,yyyy,89 20303,zzzz,62 20307,aaaa,87 20320,bbbb,79 b: 20302,dddd,65 20301,cccc,99 20311,yyyy,87 20323,kkkk,88 20307,aaaa,92 20322,pppp,83
上传时间: 2016-04-13
上传用户:zxc23456789
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2, 5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是2 个正整数,a≤b,找出a 和b 之间约数个数最多的数x。
上传时间: 2014-11-24
上传用户:gxmm
S60-programming-a-tutorial-guide-symbian. 1 Introduction to Mobile-Phone Systems 1 1.1 Wireless Technologies 1 1.2 Cellular Systems 2 1.3 Elements of a Mobile-Phone System 4 1.4 Keeping Users’ Calls Separate 5 1.5 Multipath Propagation 7 1.6 2G Mobile-Phone Systems 9 1.7 GPRS Systems 10 1.8 3G Mobile-Phone Systems 13 1.9 IP Multimedia Subsystem 16 1.10 Mobile-Phone Hardware 17 2 Introduction to Symbian OS 19 Introduction 19 2.1 The Development of Symbian OS 20 2.2 Symbian OS User Interfaces 21 2.3 Coding Idioms 23 2.4 Tool Chains 28 3 The Console Application 33 Introduction 33 3.1 Creating a Console Application 33 3.2 CBase Classes 38 3.3 Protecting Memory 38 3.4 Putting It Into Practice: An Engine for a Simple Card Game 46 Summary 56
标签: programming-a-tutorial-guide-symb Introduction Mobile-Phone Wireless
上传时间: 2016-05-14
上传用户:dianxin61
学生选修课程管理系统的设计与实现 目 录 一、需求分析 2 1.1系统简要分析 2 1.2 应用需求分析 2 二、概要设计 4 2.1业务流分析 4 2.2数据流分析 4 2.3程序数据流程分析及流程设计 4 2.4数据字典 7 2.5系统数据模型设计 8 2.5.1 E-R图 8 2.5.2数据库建表 9 三、详细设计 11 3.1登陆模块的设计与功能实现:界面设计如下: 11 3.2系统管理 11 3.2.1系统管理菜单 11 3.2.2用户管理窗口 12 3.3管理员操作 12 3.4学生信息界面设计与功能实现 13 3.5课程信息界面设计与功能的设计 17 3.6选课界面设计与功能实现 18 四、调试分析和小结 20 五、参考文献 23
上传时间: 2016-08-08
上传用户:edisonfather
S3C2410A中文数据手册,包含内容1,2,3,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23章,没有的就是USB主接口和从接口那部分
上传时间: 2013-12-20
上传用户:685
Instead of finding the longest common subsequence, let us try to determine the length of the LCS. Then tracking back to find the LCS. Consider a1a2…am and b1b2…bn. Case 1: am=bn. The LCS must contain am, we have to find the LCS of a1a2…am-1 and b1b2…bn-1. Case 2: am≠bn. Wehave to find the LCS of a1a2…am-1 and b1b2…bn, and a1a2…am and b b b b1b2…bn-1 Let A = a1 a2 … am and B = b1 b2 … bn Let Li j denote the length of the longest i,g g common subsequence of a1 a2 … ai and b1 b2 … bj. Li,j = Li-1,j-1 + 1 if ai=bj max{ L L } a≠b i-1,j, i,j-1 if ai≠j L0,0 = L0,j = Li,0 = 0 for 1≤i≤m, 1≤j≤n.
标签: the subsequence determine Instead
上传时间: 2013-12-17
上传用户:evil
第一章:摘要 1 第二章:市场分析 2 一、市场介绍 2 二、目标市场 2 三、顾客的购买准则 3 第三章,竞争性分析 3 一、竞争者 3 二、竞争策略或消除壁垒 4 1.竞争策略 4 第四章;产品与服务 4 一、产品品种规划 4 二、研究与开发 5 三、未来产品和服务规划 5 四、实施阶段 5 五、服务与支持 6 第五章 市场与销售 6 一、市场计划 6 二、销售策略 6 三、销售渠道与伙伴 6 四、定价策略 7 五、市场联络; 7 1、广告宣传 7 2、互联网促销 8 3、刊物、文章报导 8 4、直接邮寄 8 6、其它营销因素 8 六、社会认证 9 第六章 财务计划 9 一、资金需求与使用计划 9 第七章 风险控制 9 一、风险 9 1、技术风险。 9 2、市场风险 9 3、经营风险 10 4、盈利模式风险 10 二、对策 10 1、技术风险对策 10 2、市场风险及对策 11 3、经营风险及对策 11 4、盈利模式风险对策 11 第八章 附录 12 一、市场背景: 12 二、管理层人员简历 12 三、行业关系 12 四、竞争对手的文件资料: 12
上传时间: 2013-12-22
上传用户:ma1301115706
图书馆管理信息系统分析与设计 【论文摘要】 1 【关键字】 1 1. 选题背景 3 1.1. 课题背景、意义和来源以及系统工具介绍 3 1.1.1. 课题背景及意义 3 1.1.2. 课题的来源 3 1.1.3. 系统工具介绍 3 1.2. 国内外发展概况 4 1.3. 研究内容及须解决的关键问题 4 1.3.1. 研究内容 4 1.3.2. 需要解决的关键问题 4 2. 图书馆管理信息系统解决方案 5 2.1. 方案内容 5 2.2. 方案论证 5 2.2.1. 方案的选择 5 2.2.2. 方案的技术实现 6 3. 系统总体设计 7 3.1. 系统总体设计 7 3.2. 系统总体功能图 8 3.3. 数据库设计 8 3.3.1. 数据库的选择 8 3.3.2. 数据库设计 9 3.3.4. 数据库关系图 10 4. 图书馆管理信息系统的实现过程 11 4.1. 系统结构 11 4.2. 登录系统界面的设计 12 4.3. 信息服务子系统的设计 12 4.4. 管理和维护子系统的设计 15 5. 开发过程遇到的问题及解决方法 20 6. 结束语 21 参考文献 21
上传时间: 2013-12-28
上传用户:zhyiroy
超声,红外,激光,无线,通讯相关专辑 183册 1.48G初识ZigBee通讯 9页 0.7M.pdf
标签:
上传时间: 2014-05-05
上传用户:时代将军
液压相关资料的课程设计 题目要求: 1、 驱动装置:单叶片摆动缸; 2、 安装方式:缸筒顶端法兰固定,中心轴回转; 3、调速方式:双向回油节流调速,背压1.5MPa。
标签: 液压
上传时间: 2015-11-12
上传用户:四时祥和