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

Main

  • 首先

    首先,用前插法建立链表,在算法中以create函数表示;其次,定义mergeab函数,表示算法的归并: 本算法的思路为:顺次逐个将单链表的ha中的节点(P节点)在链表 hb中查找是否有重复的结点,若有,则不插入到链表hb中,将其从链表ha中删除。若在链表hb中找到第一个大于P的节点的数据域值的节点(Q节点),则在Q节点之前插入P节点,否则将链表ha联接到链表hb的表尾。为了实现方便在单连表hb之前附加一个表头节点,带归并完成后,再归还该表头节点,返回归并后连表的头指针。      最后,定义Main函数,引用之前定义函数完成程序。

    标签:

    上传时间: 2015-11-04

    上传用户:hongmo

  • 首先

    首先,初始化将要排序的序列,以数组初始化。     第二,定义快速排序函数:       本算法思路为:在待排序的n个记录中任取一个记录r(通常取第一个记录),以该记录的关键字k为准,将所有剩下的n-1个记录分割成两个子序列。第一个子序列中的每个记录关键子均小于或等于k,第二个子序列中的每个记录关键字均大于或等于k,然后将k对应的记录排在第一个子序列之后及第二个子序列之前。这个过程为一遍排序。之后分别对子序列1和子序列2重复上述过程,直至每个子序列只有一个记录为止。    最后,定义Main函数,引用之前定义函数完成程序。

    标签:

    上传时间: 2014-01-05

    上传用户:www240697738

  • <%@ LANGUAGE="VBSCRIPT" %> <!--#include file="util.asp" --> <% Head="您放入购物车的物品已经全数

    <%@ LANGUAGE="VBSCRIPT" %> <!--#include file="util.asp" --> <% Head="您放入购物车的物品已经全数退回!" Session("ProductList") = "" %> <html> <head> <meta http-equiv="Content-Type" content="text/html charset=gb2312"> <STYLE type=text/css>.Main { FONT-SIZE: 9pt } .Main1 { FONT-SIZE: 14px } </STYLE> <title>清空购物车</title> </head> <body topmargin="5" bgcolor="#E6E4C4"> <diiv align="center"><center> <table width="100%" border="0" class="table1" bordercolor="#62ACFF" cellspacing="0" class=Main1> <tr> <td width="80%" valign="top"> <p align="center" class=Main1><%=Head%></p> <p align="center"> <br><input type="button" value="关闭" name="B2" onclick="window.close() " style="font-size: 9pt"></td> </tr> </table> </center></div> </body> </html>

    标签: lt LANGUAGE VBSCRIPT include

    上传时间: 2015-11-05

    上传用户:zhaoq123

  • 实用的简繁体中文转换成拼音全拼Java类

    实用的简繁体中文转换成拼音全拼Java类,可以转换GBK字符集中的所有汉字,使用非常简单,只需按照Main()函数中的测试例子调用即可。目前,对于多音字的处理还有待完善。

    标签: Java 繁体 转换成

    上传时间: 2013-12-17

    上传用户:asdkin

  • FPgrowth的java算法

    FPgrowth的java算法,该算法主要是写出了各个的功能函数,需自己写Main()函数

    标签: FPgrowth java 算法

    上传时间: 2014-01-05

    上传用户:zhaoq123

  • UCOS/II for ICCAVR - The version of UCOS/II is 2.04 - the original port was done by Ole Saether

    UCOS/II for ICCAVR - The version of UCOS/II is 2.04 - the original port was done by Ole Saether for the IAR compiler. Jens E. Holtegaard ported one version using ICCAVR. Joerg Meyer did another port (using Jens port as a start?). This is basically Joerg s port plus a little bit of changes and documentation by me. - YOU MUST DOWNLOAD THE Main PART OF THE UCOS/II FROM THE UCOS/II WEBSITE http://www.ucos-ii.com . The supplied project file assumes the portable source is in the ..\source directory. - Joerg has written couple document showing the stack frames etc. but it is in German :-) They are included in this directory. - The Timer2 overflow interrupt is used for Timer Tick. If you want to change that, modify os_cpu_c.c and os_cpu_a.s - I have tested this using ATMega103 with and without external RAM using AVR Studio simulator. See test1.c test program. Both Code Compressed (PRO) and STD versions have been tested.

    标签: UCOS original Saether version

    上传时间: 2015-11-14

    上传用户:ippler8

  • This document provides guidelines for integrating a discrete high speed USB host controller onto a f

    This document provides guidelines for integrating a discrete high speed USB host controller onto a fourlayer desktop motherboard. The material covered can be broken into three Main categories: Board design guidelines, EMI/ESD guidelines and front panel USB guidelines. Section 1.1 Background provides an explanation of the routing experiments and testing performed to validate the feasibility of 480 Megabits per second on an actual motherboard. Section 7 contains a design checklist that lists each design recommendation described in this document. High speed USB operation is described in the USB 2.0 Specification (http://www.usb.org/developers/docs.html).

    标签: integrating controller guidelines document

    上传时间: 2013-11-27

    上传用户:电子世界

  • This document provides guidelines for integrating a discrete high speed USB host controller onto a f

    This document provides guidelines for integrating a discrete high speed USB host controller onto a fourlayer desktop motherboard. The material covered can be broken into three Main categories: Board design guidelines, EMI/ESD guidelines and front panel USB guidelines. Section 1.1 Background provides an explanation of the routing experiments and testing performed to validate the feasibility of 480 Megabits per second on an actual motherboard. Section 7 contains a design checklist that lists each design recommendation described in this document. High speed USB operation is described in the USB 2.0 Specification (http://www.usb.org/developers/docs.html).

    标签: integrating controller guidelines document

    上传时间: 2015-11-18

    上传用户:xhz1993

  • 1设计题目及要求 一、程序设计题目:学生成绩管理程序设计 二、 程序设计功能及要求: 1.显示学生各门成绩,总分,和平均分. 2.按总分由高到的进行排列. 3.要求输入一个学号.要求能找出一

    1设计题目及要求 一、程序设计题目:学生成绩管理程序设计 二、 程序设计功能及要求: 1.显示学生各门成绩,总分,和平均分. 2.按总分由高到的进行排列. 3.要求输入一个学号.要求能找出一个学生的.姓名.各门功课的成绩. 3 算法分析 1. 学生成绩管理软件的数据结构 2. 排序 3. 查找 4. 其它 4 主要流程图 1写程序结构及各模块(输入,显示等等)结构图 本程序用了c++语言里面的思想,比如用了cin 和 cout 函数.分了俩个类.一个是File类.一个是Link类. File类里面主要的是用于保存和导入数据. Link类主要是用于链表的操作…. 本程序分为几个文件编写有.file.cpp文件和file.h文件 Link.cpp文件和Link.h文件 manager..cpp文件和manager.h文件. 本程序的主体结构是链表.用链表操作.实现动态创建和销毁. 主函数Main().是在Manger.cpp 里面.是程序的入口处 File.cpp 和 link.cpp 是存放file类.和 link类的源函数变量代码. File.h 和Link.h 是存放file 类 和link 类的声明

    标签: 程序设计 程序 设计功能

    上传时间: 2014-01-17

    上传用户:古谷仁美

  • rs码代码

    rs码代码,别人给我的,不过看不懂,Main函数太多

    标签: 代码

    上传时间: 2014-01-18

    上传用户:lo25643