虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

33<b>5</b>

  • 编程题(15_01.c) 结构 struct student { long num char name[20] int score struct student *

    编程题(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

    标签: student struct score long

    上传时间: 2016-04-13

    上传用户:zxc23456789

  • 1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a

    1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if A = 1 2 3 then B = 3 2 1 4 5 6 6 5 4 7 8 9 9 8 7 Write a main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A). 2) Write a program which accepts an input k from the keyboard, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its position in the fibonacci sequence. Here is a sample of input and output: Enter k>0: 100 144 is the smallest fibonacci number greater than or equal to 100. It is the 12th fibonacci number.

    标签: dimensions arbitrary function reverse

    上传时间: 2016-04-16

    上传用户:waitingfy

  • 一个职工信息管理系统。 系统功能如下: 1

    一个职工信息管理系统。 系统功能如下: 1,创建存储该单位职工信息的存储系统,在第一次输入基本信息时,创建文件将职工信息写入文件。 2,增加职工信息,增加新职工时输入新职工的基本信息并加入文件。 3,删除某职工的基本信息,同时修改文件中相应的内容。 4,修改某职工的某些信息,如加工资,获新学位,晋升职称。 5,可以输出符合某种特征的职工信息列表,包括: a)全体职工信息; b)某职称的职工全部信息; c)出生日期在某一范围的全部职工信息; d)某一部门全部职工信息。

    标签: 信息管理系统

    上传时间: 2013-11-30

    上传用户:woshini123456

  • var matlab:variant //通过"变体"调用接口是比较低效的,但很方便 begin //变体这种结构

    var matlab:variant //通过"变体"调用接口是比较低效的,但很方便 begin //变体这种结构,本是vb中的东西。 try //如果已有活动的matlab.application对象,取其接口 matlab:=GetActiveOleObject( Matlab.Application ) except //这些个api所使用到的参数,其实都可以在注册表里搜索到. matlab:=CreateOleObject( Matlab.Application ) //否则自己创建之 matlab:=CreateOleObject( Matlab.Application.5 ) matlab.execute( a=[1 1/ 3 1/5] ) //matlab.application接口具有 matlab.execute( b=[3 1 1/3] ) //这种方法(接口),否则会出错 matlab.execute( plot(a,b) );

    标签: variant matlab begin var

    上传时间: 2013-12-18

    上传用户:dapangxie

  • 被《程序员》等机构评选为2006年最受读者喜爱的十大IT图书之一。 本书是久负盛名的C++经典教程

    被《程序员》等机构评选为2006年最受读者喜爱的十大IT图书之一。 本书是久负盛名的C++经典教程,其内容是C++大师Stanley B. Lippman丰富的实践经验和C++标准委员会原负责人Josée Lajoie对C++标准深入理解的完美结合,已经帮助全球无数程序员学会了C++。本版对前一版进行了彻底的修订,内容经过了重新组织,更加入了C++ 先驱Barbara E.Moo在C++教学方面的真知灼见。既显著改善了可读性,又充分体现了C++语言的最新进展和当前的业界最佳实践。书中不但新增大量教学辅助内容,用于强调重要的知识点,提醒常见的错误,推荐优秀的编程实践,给出使用提示,还包含大量来自实战的示例和习题。

    标签: 2006 程序员 机构 图书

    上传时间: 2014-01-13

    上传用户:Zxcvbnm

  • Implement the following integer methods: a) Method celsius returns the Celsius equivalent of a Fahr

    Implement the following integer methods: a) Method celsius returns the Celsius equivalent of a Fahrenheit calculation celsius = 5.0 / 9.0 * ( fahrenheit - 32 ) b) Method fahrenheit returns the Fahrenheit equivalent of a Celsius the calculation fahrenheit = 9.0 / 5.0 * celsius + 32 c) Use the methods from parts (a) and (b) to write an application either to enter a Fahrenheit temperature and display the Celsius or to enter a Celsius temperature and display the Fahrenheit equivalent.

    标签: equivalent Implement the following

    上传时间: 2014-01-19

    上传用户:jackgao

  • sourceinsight3.5 crack tool

    sourceinsight3.5 crack tool

    标签: sourceinsight crack tool 3.5

    上传时间: 2013-12-14

    上传用户:asdkin

  • 用PB6.5开发的学校图书管理系统。功能很强悍哦

    用PB6.5开发的学校图书管理系统。功能很强悍哦

    标签: 6.5 PB 图书管理

    上传时间: 2016-05-09

    上传用户:515414293

  • 正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如

    正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2, 5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是2 个正整数,a≤b,找出a 和b 之间约数个数最多的数x。

    标签: 整数 div

    上传时间: 2014-11-24

    上传用户:gxmm

  • LPC2104/5/6的嵌入式程序及其仿真文件,适合入门指导

    LPC2104/5/6的嵌入式程序及其仿真文件,适合入门指导

    标签: 2104 LPC 嵌入式程序 仿真

    上传时间: 2013-11-28

    上传用户:yimoney