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

57.<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

  • 2410 Samsung3.5寸屏用BSP源代码

    2410 Samsung3.5寸屏用BSP源代码

    标签: Samsung 2410 3.5 BSP

    上传时间: 2014-01-22

    上传用户:asdkin

  • 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

  • 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

  • ADI TS201 原装系统板PCB图, 此PCB图是用POWERPCB 5.0画的, 直接导入既可打开, 目前做相控阵雷达,3G 基站,WIMAX基站等均采用ADSP-TS201.

    ADI TS201 原装系统板PCB图, 此PCB图是用POWERPCB 5.0画的, 直接导入既可打开, 目前做相控阵雷达,3G 基站,WIMAX基站等均采用ADSP-TS201.

    标签: 201 PCB POWERPCB ADSP-TS

    上传时间: 2013-12-22

    上传用户:

  • 正整数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

  • 本书介绍了在Microsoft Windows 98、Microsoft Windows NT 4.0和Windows NT 5.0下程序写作的方法。这些程序用C语言编写并使用原始的Windows A

    本书介绍了在Microsoft Windows 98、Microsoft Windows NT 4.0和Windows NT 5.0下程序写作的方法。这些程序用C语言编写并使用原始的Windows Application Programming Interface(API)。如在本章稍后所讨论的,这不是写作Windows程序的唯一方法。然而,无论最终您使用什么方式写作程序,了解Windows API都是非常重要的。

    标签: Windows Microsoft NT 4.0

    上传时间: 2014-12-04

    上传用户:wys0120

  • 1、火车采集器V3.2版要求:您的电脑必须安装.net framework2.0框架 附windows .net framework 2.0下载地址:http://download.microso

    1、火车采集器V3.2版要求:您的电脑必须安装.net framework2.0框架 附windows .net framework 2.0下载地址:http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe 2、软件一直坚持自带配置文件,安装及使用过程不操作注册表及系统文件,完全绿色免安装软件,直接解压软件包即可使用。 3、如果您使用的是1.X - 2.0版本,您的电脑必须安装.net 1.1框架。 附windows .net framework1.1下载地址:http://download.microsoft.com/download/7/b/9/7b90644d-1af0-42b9-b76d-a2770319a568/dotnetfx.exe

    标签: framework 2.0 net download

    上传时间: 2014-01-07

    上传用户:kytqcool