CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - array class
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
assembly language
SCSI-ASPI
ELanguage
Disk Tools
Speech/Voice recognition/combine
Editor
Anti-virus
MultiLanguage
MPI
source in ebook
Delphi VCL
OS Develop
MiddleWare
MacOS develop
LabView
e-language
python
Search - array class - List
[
assembly language
]
chengjipaixu
DL : 0
简易学生成绩排序(汇编) 编制一程序,要求接收从键盘输入的一个班的学生成绩,并存放于50字grade数组中,其中grade+i保存学号为i+1的学生成绩。然后根据grade中的学生成绩,把学生名次填入50字rank字数组中,其中 rank+i的内容是学号为i+1学生的名次。再按学号顺序把名次从终端上显示出来-summary ranking the performance of their students (compilation) preparation process, receiving requests from the keyboard input of a class of student performance, and stored in an array of 50 characters grade, which i kept grade school, as a student i achievements. According to grade the performance of their students, the students rank their preference of 50 characters rank wordage group, i which rank the content of the school, i +1 for students ratings. School, then put the order from the terminal rankings show the
Date
: 2008-10-13
Size
: 293.91kb
User
:
yinlu
[
assembly language
]
rank
DL : 0
编制一程序,要求接收从键盘输入的一个班的学生成绩,并存放于50字grade数组中,其中grade+i保存学号为i+1的学生成绩。然后根据grade中的学生成绩,把学生名次填入50字rank字数组中,其中 rank+i的内容是学号为i+1学生的名次。再按学号顺序把名次从终端上显示出来。(输入学生个数<=50,可以不定)-preparation of a procedure that requires the receiving input from the keyboard of a class of student performance, and deposited in 50 words array grade, grade school, i kept i for a student performance. According to grade the performance of their students, the students rank their preference of 50 characters rank wordage group, i which rank the content of the school, i +1 for students ratings. School, then put the order from the terminal on the rankings show. (Input number of students
Date
: 2008-10-13
Size
: 2.33kb
User
:
陈于
[
assembly language
]
ghost516
DL : 0
把一个班的学生姓名和成绩存放到一个结构数组中,寻找和输出最高分者。 要交的作业-bring a class of students names and accomplishments of a storage array structure of the search and the maximum output stakeholders. To pay operating
Date
: 2008-10-13
Size
: 240.32kb
User
:
ghost
[
assembly language
]
chengjipaixu
DL : 0
简易学生成绩排序(汇编) 编制一程序,要求接收从键盘输入的一个班的学生成绩,并存放于50字grade数组中,其中grade+i保存学号为i+1的学生成绩。然后根据grade中的学生成绩,把学生名次填入50字rank字数组中,其中 rank+i的内容是学号为i+1学生的名次。再按学号顺序把名次从终端上显示出来-summary ranking the performance of their students (compilation) preparation process, receiving requests from the keyboard input of a class of student performance, and stored in an array of 50 characters grade, which i kept grade school, as a student i achievements. According to grade the performance of their students, the students rank their preference of 50 characters rank wordage group, i which rank the content of the school, i+1 for students ratings. School, then put the order from the terminal rankings show the
Date
: 2026-01-19
Size
: 294kb
User
:
yinlu
[
assembly language
]
rank
DL : 0
编制一程序,要求接收从键盘输入的一个班的学生成绩,并存放于50字grade数组中,其中grade+i保存学号为i+1的学生成绩。然后根据grade中的学生成绩,把学生名次填入50字rank字数组中,其中 rank+i的内容是学号为i+1学生的名次。再按学号顺序把名次从终端上显示出来。(输入学生个数<=50,可以不定)-preparation of a procedure that requires the receiving input from the keyboard of a class of student performance, and deposited in 50 words array grade, grade school, i kept i for a student performance. According to grade the performance of their students, the students rank their preference of 50 characters rank wordage group, i which rank the content of the school, i+1 for students ratings. School, then put the order from the terminal on the rankings show. (Input number of students
Date
: 2026-01-19
Size
: 2kb
User
:
陈于
[
assembly language
]
ghost516
DL : 0
把一个班的学生姓名和成绩存放到一个结构数组中,寻找和输出最高分者。 要交的作业-bring a class of students names and accomplishments of a storage array structure of the search and the maximum output stakeholders. To pay operating
Date
: 2026-01-19
Size
: 240kb
User
:
ghost
[
assembly language
]
huigrade
DL : 0
从键盘接收输入的一个班的学生成绩,并存放于50字grade数组中,其中grade+i保存学号为i+1的学生成绩。然后根据grade中的学生成绩,把学生名次填入50字rank字数组中,其中 rank+i的内容是学号为i+1学生的名次。再按学号顺序把名次从终端上显示出来。(输入学生个数<=50,可以不定) -Receive input from the keyboard of a class of student achievement, and stored in 50 words grade array, which grade+ I save school No. i+ 1 of student achievement. And then under the grade of student achievement, the students fill in 50 words rank ranking word group, which rank+ I is the number school students rank i 1. And then places the order of the rankings from No. terminals displayed. (Enter student number
Date
: 2026-01-19
Size
: 4kb
User
:
婷婷
[
assembly language
]
1-1
DL : 0
c++二、通过将其元素插入到双向链表中的方法对数组A进行排序。算法对链表的当前操作位置进行维护,当需要插入表项时,若新元素比当前位置值要大,则往前移动;若小则往后移动。编写函数DoubleSort实现上述排序算法。 template <class T> void DoubliSort( T a[], int n) -c++ Second, through its elements inserted into the two-way linked list of methods to sort array A. Algorithm to list the current operating position for maintenance, when the need to insert a table entry, if the new element to the location than the current value to big, then move forward if small is the next move. Prepared to achieve the above function DoubleSort sorting algorithm. template
Date
: 2026-01-19
Size
: 1kb
User
:
zzlbly
[
assembly language
]
1-2
DL : 0
二、通过将其元素插入到双向链表中的方法对数组A进行排序。算法对链表的当前操作位置进行维护,当需要插入表项时,若新元素比当前位置值要大,则往前移动;若小则往后移动。编写函数DoubleSort实现上述排序算法。 template <class T> void DoubliSort( T a[], int n) -Second, through its elements inserted into the two-way linked list of methods to sort array A. Algorithm to list the current operating position for maintenance, when the need to insert a table entry, if the new element to the location than the current value to big, then move forward if small is the next move. Prepared to achieve the above function DoubleSort sorting algorithm. template
Date
: 2026-01-19
Size
: 831kb
User
:
zzlbly
[
assembly language
]
ZHSY
DL : 0
实验内容: 编制一程序,要求接收从键盘输入的一个班的学生成绩,并存放于50字节的GRADE数组中,其中GRADE+N保存学号N+1的学生成绩。然后根据GRADE中的学生成绩,把学生名次填入50字节的RANK数组中,其中RANK+N的内容是学号为N+1学生的名次。再按学号把学生顺序把学生名次显示出来。 实验要求:1.必须画流程图。2.本程序要求要有多重循环和子程序,其中 成绩输入、计算学生名次、显示学生名次都分别用子程序,也可用宏处理。-Experiment content: the preparation of a procedure, the requirements to receive keyboard input from a class of student achievement, and deposited in the 50-byte array GRADE, which GRADE+ N Save Student N+ 1 of student achievement. GRADE then the student achievement, the students ranked RANK fill 50 byte array, which RANK+ N content of school No. N+ 1 ranking students. No. school students and then the order of ranking students displayed. Experimental requirements: 1. Must be drawn flow chart. 2. This procedure requires multiple cycles and subprogram, which results input, calculating student rankings, showing the students were Subroutine rankings are also available to deal with Acer.
Date
: 2026-01-19
Size
: 1kb
User
:
lixian
[
assembly language
]
Lightemplate
DL : 0
我写的php模版类,调用方法简单,支持if else include之类的标签, 可以包含扩展函数,整个模版文件没有外部include和require,减少io操作, 加载三个模版变量,两个数组变量,比smarttemplate快平均2-3毫秒. 单纯加载模版文件,不设置任何变量lightemplate平均0.3毫秒左右,smarttemplate至少要1毫秒. -I wrote the php template class, called simple, if else include support such as labels, can contain spread function, the entire template and the document does not include the external require, reducing the io operation, load the three template variables, two array variables, smarttemplate faster than an average of 2-3 ms. simply load the template file, do not set any variables lightemplate an average of about 0.3 milliseconds, smarttemplate at least 1 ms.
Date
: 2026-01-19
Size
: 5kb
User
:
mohc
[
assembly language
]
xuhanshu
DL : 0
利用虚函数手段,按照3种不同的计算方法来求出Fibonacci数列的第n项(的具体项值)并输出。具体地说,可通过在基类baseCla及其派生类fib1Cla、fib2Cla和fib3Cla中说明如下的同一个虚函数“virtual double fib(int n) ”,来实现求Fibonacci数列第n项值并返回的3种不同求解方法。例如,可设计并使用已经在第4和第5章的练习中所实现的求解方法:简单变量“数据平移”法、使用数组的实现法以及使用递归函数的实现法。-The use of virtual function means, in accordance with three kinds of different methods of calculation to find Fibonacci series, the first n items (specific items of value) and the output. Specifically, through the base class baseCla its derived classes fib1Cla, fib2Cla and fib3Cla described in the following virtual function with a " virtual double fib (int n) " , to achieve the first n order to Fibonacci sequence item value and return 3 different solutions are given. For example, can be designed and has been used in section 4 and Chapter 5 of the exercise achieved by solving method: simple variable " data translation" method, using an array implementation of law and the implementation method to use recursive functions.
Date
: 2026-01-19
Size
: 1kb
User
:
lixuhui
[
assembly language
]
Archive
DL : 0
编制一程序,要求键入一个班的学生成绩,并存放于50字的ERADE数组中,然后根据ERADE中的成绩,把学生名次填入50字的RANK数组中,再按学号顺序把名次从终端上显示出来-The preparation of a procedure that requires the type 1 class student achievement, and stored in 50-word ERADE array, and then ERADE in the performance of their students to fill in 50-word ranking RANK array, and then learn the order of the rankings from the terminal No. on display
Date
: 2026-01-19
Size
: 1kb
User
:
ilsa
[
assembly language
]
2011
DL : 0
设计并实现一个简单的银行储蓄系统,完成活期和定期用户的存款和取款业务。要求如下: 1. 实现描述银行的类,记录系统中现有哪些储户(提示:可用对象数组实现,但须注意判断数组越界的情况),该类中要求包含三个函数: (1) 生成新储户的函数; (2) 按照账户删除储户的函数(需判断该帐户是否还有余额) (3) 按照账户查询储户的函数,要求显示查询结果。 2. 定义储户类。其属性包含账号,存款人姓名、身份证号、地址、存款余额;其操作功能有存款、取款、显示储户信息。 3. 编写main()函数,测试上述所要求的各项功能。 4. 设计简单的菜单界面,实现上述所要求的各种功能。 -Design and implement a simple bank savings system, complete and regular users demand deposits and withdrawals business. Requirements are as follows: 1. To achieve the kind described in banks, which depositors existing recording system (hint: an array of objects can be realized, but must pay attention to the situation to determine the array bounds), the class required to include three functions: (1) generate a new function of the depositor (2) in accordance with the depositor s account delete function (need to determine whether there is the account balance) (3) in accordance with the depositor s account inquiry functions required to display query results. 2. The definition of depositors class. The property contains the account number, depositor name, ID number, address, deposit balances its operating functions are deposits, withdrawals, display depositors information. 3. Write main () function to test the various functions required. 4. Design a simple menu interface to a
Date
: 2026-01-19
Size
: 1kb
User
:
chen
[
assembly language
]
huibian
DL : 0
编制一个程序,要求接收从键盘输入的一个班的学生成绩,并存放于50字节的GRADE数组中,其中GRADE+N保存学号N+1的学生成绩。然后根据GRADE中的学生成绩,把学生名次填入50字节的RANK数组中,其中RANK+N的内容是学号为N+1学生的名次。再按学号顺序把学生成绩及学生名次显示出来。-The preparation of a program that requests to receive input from the keyboard of a class of student achievement, and stored in an array of 50 bytes GRADE, where GRADE+ N N+1 save No. student learning achievement. GRADE then the student achievement, the students fill ranking RANK array of 50 bytes, including the content of RANK+ N N+1 number of students learning the ranking. Then the order of student ID and student to student achievement rankings displayed.
Date
: 2026-01-19
Size
: 30kb
User
:
王若松
[
assembly language
]
compiler2
DL : 0
语法分析(一) 在实验一的基础上,对符号表中的单词采用自顶向下的分析方法进行语法分析,对不符合给定的文法的字符串,给出错误信息。 内容:给定描述语法的文法为: E→E+T|E-T|T T→T*F|T/F|F F→i 注:i为实验一中分析得到的整型数值型数据,+、-、*和/为实验一文法二所描述的算符。 使用的数据结构: 1.定义一个结构体,利用该结构体定义一个数组stable,用来存放字符串中字符的属性(类型class和值value)。(与实验一同用) 2.定义一个整型数组eft,大小与stable数组相同,记录对应单词是否是错误。 3.定义一个三维字符数组:用来存放分析表。-Parsing (a) on the basis of experiment, using the word in the symbol table parsing top-down analysis methods that do not meet the string of a given grammar, given the error message. : Grammar describes the syntax given: E → E+T | ET | the TT → T* F | T/F, | the FF → i Note: i is an integer numeric data analysis experiment,+,-,* and/experiment grammar described by the two operators. The data structures used: 1. Define a structure, the structure is defined an array of stable, used to store the characters in the string attributes (type, class and value value). (Together with the experimental use) 2. Define an integer array eft, the size of the stable array of the same record the corresponding word is wrong. 3. Define a three-dimensional array of characters: used to store the analysis table.
Date
: 2026-01-19
Size
: 1kb
User
:
刘博
[
assembly language
]
O5
DL : 0
1,定义一个类Card,该类的对象代表一张扑克牌。要求包含三个属性:点数,花色,和大小王信息(三者均为enum类型)。要求扑克牌能比较大小,比较规则为: a,大王最大,小王其次。 b,其他的扑克牌按点数大小来比,点数相同的按花色来比(花色从大到小的顺序是:黑桃>红桃>梅花>方块)。 2,为Card类写一个静态方法: static TreeSet[] dispatch(int players,int reservers),要求用一副扑克牌随机的为多人发牌,并预留给定张数的底牌,返回一个TreeSet数组,保存排好序的每个玩家得到的牌,以及预留的底牌。 3,写一个主方法测试以上程序,输出每次发牌的结果。 -define a class Card, the class object represents a playing card. Requirement contains three attributes: points, color, and size of the king of information (three are enum types.) Asked to compare the size of playing cards, more rules: a, King largest, followed by Wang. b, other than poker size in points, points to the same than by color (color in sequence are: spades> hearts> plum> box). 2, for the Card class to write a static method: static TreeSet [] dispatch (int players, int reservers), require more than a deck of cards for the licensing of random, and set aside a given number of sheets of the cards, return an array of TreeSet, save the sorted each player get the card, and set aside the cards. 3, write a main method to test the above procedure, the output results of each license.
Date
: 2026-01-19
Size
: 2kb
User
:
盒子
[
assembly language
]
gzhs
DL : 0
创建一个Employee类,该类中用字符数组存放Employee的信息,如姓名、地址、市、省、及邮政编码;每个成员函数的定义放在类定义之外;成员函数包括改变姓名数据成员等;构造函数完成成员数据的初始化;用Display()函数将完整的对象数据打印出来;其中数据成员是保护的,成员函数是公共的-Create an Employee class, the class with character array to store Employee information, such as name, address, city, province, and zip code each member function definition placed outside the class definition member functions including change of name data member complete member data initialization constructor Display () function will complete object print out the data data members to protect the member function is public
Date
: 2026-01-19
Size
: 6kb
User
:
peng
[
assembly language
]
paixu
DL : 0
编写一个使用数组类模板Array对数组进行排序,求最大值和求元素和的程序,并采用相关数据进行测试.-Write a class template Array using an array to sort the array, find the maximum and demand elements and procedures, and the use of relevant data for testing.
Date
: 2026-01-19
Size
: 1kb
User
:
闫忠正
[
assembly language
]
Vvector
DL : 0
实现一个数组类模板,功能同std::vector-Achieve an array of class template function with std :: vector
Date
: 2026-01-19
Size
: 1kb
User
:
无为
«
1
2
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.