Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - array class
Search - array class - List
DL : 0
一个学生成绩编辑程序,本程序设计优缺点: 采用数组实现各项功能,简洁易懂,便于操作。功能包括: 1. 建立文件:能建立多个文件保存不同数据;载入:可从现有任意文件中载入数据;保存:可将输入的数据保存到现有文件中,建议新建文件,否则会覆盖原文件中数据。 2. 增加或删除学生数据,按学号查学生姓名、成绩(包括平均成绩),求总平均成绩和各科平均成绩。 3. 有各种排序功能:按学号排序、平均成绩排序、某门课成绩排序。 4. 不及格类统计:统计考试有不及格的学生、指定课程有不及格的学生、三门或三门以上课程不及格的学生及每门课不及格学生与总人数之比。 5. 分数段查询:.总成绩分段查询(如总成绩在300~400)、各门成绩分段查询(如各门成绩均在80~90),可轻松查询各分数段内的学生。 不足之处是学生数组以静态方式存储内存,利用率不高,且数组长度有限,不能动态添加。还有一点就是输出每门课成绩最好和最差的学生名单时,只能输出一位学生,即如果有俩个学生的成绩相同时,只能输出平均分高的学生。 -a student performance editing procedures, the advantages and disadvantages of the design process : the array to achieve functional and easy to read. easy to operate. Features include : 1. The establishment of documents : to create a number of different data document preservation; Included : from the existing arbitrary files contain data; Preservation : may data will be entered into the preservation of existing documents, the proposed new document, the original document will cover data. 2. Students add or remove data, inquiries by students, school name, results (including the performance), average scores for a total average score and branches. 3. There are various sequencing functions : Sort of by the school, the average score in a certain class performance ranking. 4. Failing category Stat
Date : 2008-10-13 Size : 4.89kb User : 沈叔涛

DL : 0
一个学生成绩编辑程序,本程序设计优缺点: 采用数组实现各项功能,简洁易懂,便于操作。功能包括: 1. 建立文件:能建立多个文件保存不同数据;载入:可从现有任意文件中载入数据;保存:可将输入的数据保存到现有文件中,建议新建文件,否则会覆盖原文件中数据。 2. 增加或删除学生数据,按学号查学生姓名、成绩(包括平均成绩),求总平均成绩和各科平均成绩。 3. 有各种排序功能:按学号排序、平均成绩排序、某门课成绩排序。 4. 不及格类统计:统计考试有不及格的学生、指定课程有不及格的学生、三门或三门以上课程不及格的学生及每门课不及格学生与总人数之比。 5. 分数段查询:.总成绩分段查询(如总成绩在300~400)、各门成绩分段查询(如各门成绩均在80~90),可轻松查询各分数段内的学生。 不足之处是学生数组以静态方式存储内存,利用率不高,且数组长度有限,不能动态添加。还有一点就是输出每门课成绩最好和最差的学生名单时,只能输出一位学生,即如果有俩个学生的成绩相同时,只能输出平均分高的学生。 -a student performance editing procedures, the advantages and disadvantages of the design process : the array to achieve functional and easy to read. easy to operate. Features include : 1. The establishment of documents : to create a number of different data document preservation; Included : from the existing arbitrary files contain data; Preservation : may data will be entered into the preservation of existing documents, the proposed new document, the original document will cover data. 2. Students add or remove data, inquiries by students, school name, results (including the performance), average scores for a total average score and branches. 3. There are various sequencing functions : Sort of by the school, the average score in a certain class performance ranking. 4. Failing category Stat
Date : 2026-01-19 Size : 5kb User : 沈叔涛

DL : 0
该程序设计了一个double类形的数组类,同时将赋值运算符和数组界标运算符[]进行了重载-The program designed a double type of array class, at the same time, assignment operator and an array of landmark operator [] a heavy-duty
Date : 2026-01-19 Size : 3kb User : 欧阳开光

DL : 0
《C# 语法全解》,都是分好的文档,适合大家交流学习。 文档列表: C# 命名空间9.doc C# 委托15.doc C#变量5.doc C#表达式7.doc C#不安全代码18.doc C#程序结构和数据类型1.doc C#词法结构2.doc C#基本概念3.doc C#接口13.doc C#结构11.doc C#类10.doc C#类型4.doc C#枚举14.doc C#属性17.doc C#数组12.doc C#文档注释19.doc C#异常16.doc C#语法20.doc C#语句8.doc C#转换6.doc-" C# syntax of the whole solution," are points good documentation, for learning to share. Documents list: C# namespace 9.doc C# delegate 15.doc C# variable 5.doc C# expression 7.doc C# unsafe code 18.doc C# program structure and data types 1.doc C# lexical structure 2.doc C# Basic Concepts 3.doc C# Interface 13.doc C# structure 11.doc C# class 10.doc C# type 4.doc C# enumeration 14.doc C# properties 17.doc C# array 12.doc C# Documentation Comments 19.doc C# exception 16.doc C# syntax 20.doc C# statement 8.doc C# conversion 6.doc
Date : 2026-01-19 Size : 636kb User : ...

DL : 0
面向对象的C#编程 设计一个图书卡类Card,用来保存图书馆卡片分类记录。这个类的成员包括书名、作者、馆藏数量。至少提供两个方法。Store书的入库处理,show显示图书信息。运行程序时,可以从控制台上输入需要入库的图书总数,根据这个总数创建Card对象数组,然后输入数据,最后可以选择按书名、作者、入库量排序。-Object-oriented programming to design a C# class library card Card, to save the library card sorting records. Members of this class, including title, author, volume of collection. At least two methods. Store book storage processing, show display book information. Run the program, you can enter from the console the total number of books need storage, according to this total to create an array of Card objects, and then enter the data, and finally you can choose by title, author, storage volume of order.
Date : 2026-01-19 Size : 1kb User : chuwei

一个个人类库,包括字符串操作类、PC控制类、Object数组操作类等等。-A personal library, including string manipulation class, PC control class, Object class array of operations and so on.
Date : 2026-01-19 Size : 881kb User : zhouxifan

DL : 0
1)、定义一个抽象类Weapon,该抽象类有两个抽象方法attack(),move():这两个方法分别表示武器的攻击方式和移动方式。 (2)、定义3个类:Tank,Flighter,WarShip都继承自Weapon,分别用不同的方式实现Weapon 类中的抽象方法。 (3)、写一个类Army,代表一支军队,这个类有一个属性是Weapon数组w(用来存储该军队所拥有的所有武器);该类还提供一个构造方法,在构造方法里通过传一个int类型的参数来限定该类所能拥有的最大武器数量,并用这一大小来初始化数组w。该类还提供一个方法addWeapon(Weapon wa),表示把参数wa所代表的武器加入到数组w中。在这个类中还定义两个方法attackAll()和moveAll(),让w数组中的所有武器攻击和移动。 (4)、写一个主方法去测试以上程序。 -1), defines an abstract class Weapon, the abstract class has two abstract methods attack (), move (): These two methods represent the weapons attacks and moves. (2), defines three classes: Tank, Flighter, WarShip are inherited from the Weapon, respectively, in different ways to achieve Weapon Class abstract methods. (3), write a class Army, on behalf of an army, this class has a property is an array of Weapon w (used to store all of the weapons owned by the armed forces) class provides a constructor in the constructor through the mass a parameter of type int to limit the class can have the maximum number of weapons, and to initialize the array with the size of the w. The class also provides a method addWeapon (Weapon wa), that represent the parameters wa added to the array w of weapons. In this class also defines two methods attackAll () and moveAll (), let w array and move all the weapons to attack. (4), write a main method to test the above procedure.
Date : 2026-01-19 Size : 32kb User : liuxiao

1.介绍 1.1 Hello world 1.2 类型 1.3 变量和参数 …… 2、语法结构 3、基本概念 4、类型 5、变量 6、转换 7、表达式 8、语句 9、名称空间 10、类 11、结构 12、数组-1 Introduction 1.1 Hello world 1.2 Types 1.3 Variables and Parameters ... ... 2, the grammatical structure 3, the basic concept 4, type 5, the variable 6, the conversion 7, the expression 8, the statement 9, the name space 10, the class 11, the structure 12, the array
Date : 2026-01-19 Size : 1.72mb User : xield

DL : 0
循环 数组 类 属性的访问利器 成员方法 构造方法-Access tool for member method of the circular array of class attribute constructor
Date : 2026-01-19 Size : 1kb User : chenfeng

DL : 0
定义一个二维数组存放全班数学和物理成绩,并求全班的总平均成绩、数学平均成绩和物理平均成绩-Define a two-dimensional array storage class in mathematics and physics results, and ask the class the overall grade point average, mathematics average scores and physical grade point average
Date : 2026-01-19 Size : 85kb User : 赵丹

DL : 0
ArrayList类 二维数组的声明和使用 哈希表Hashtable 一维数组的声明和使用-The ArrayList class two-dimensional array declaration and use of hash table Hashtable declaration and use of the one-dimensional array
Date : 2026-01-19 Size : 267kb User : 王建玲

DL : 0
1.C#和.NET Framework简介 Z.C#基础语法 3.面向对象概念和C#类的概念 4.类成员详解 5.创建和自定义类型 6.方法、委托、事件的创建和使用 7.常用类讲解(string,数组,集合,泛型)-1.C# and. NET Framework Introduction to the basic syntax of ZC# 3. Oriented objects concept and the concept of the C# class 4 class members detailed to create and custom type 6. Methods, commissioned the creation of the event and use 7 commonly used class to explain (string, array, collection, generics)
Date : 2026-01-19 Size : 420kb User : zhiwenshu

主要通过DataGridView表格来绑定自动输入自定义类的二维数组数据 数组输入时 表格数据源 DataGridView1.DataSource = [class].getTable() 所有数据存于dTable中 不能调用变量获取数据,因为这是针对二维数组扩展的 getValues(object[] rtobjs)取所有数据数组 getValue(int rowIndex,object rtobj)取每一行数据-DataGridView form to bind automatically entered in the two-dimensional array of the custom class array of data input forms data source DataGridView1.DataSource = [class]. GetTable () all data stored in the dTable can not call variables to get the data, because it is extended for two-dimensional array the getValues ​ ​ (object [] rtobjs) to take all the data array getValue (int rowIndex, object rtobj) take each row of data
Date : 2026-01-19 Size : 3kb User : lqh

1、使用System.Array类的方法获取已知数组(数组元素为80,90,67,89,78,85,45,69,77,95)的维数、长度,并对数组排序、反转。 提示:Rank,Length,Sort(),Reverse() 2、 使用Random方法生成随机数。数组A中有8个互不相同的元素,数组B中有5个互不相同的元素,A和B中的数为100以内的正整数。编程产生数组C,C中包含在A中但不在B中的元素。 任意输入两个正整数a,b, 求a+b的和, a,b的取值范围为1—10100 -System.Array class method to get the the known array (array elements 80,90,67,89,78,85,45,69,77,95) dimension, length, and array sorting, reverse . Tip: Rank, Length, Sort (), Reverse () 2, using the Random method to generate random numbers. There are eight distinct elements in the array A, array B, has 5 mutually different elements, A and B number is a positive integer of less than 100. Programmed to generate an array of C, C contains the element A but not B. Input any two positive integers a, b, seeking a+b and a, b of the range 1-10100
Date : 2026-01-19 Size : 56kb User : xiaobai66393

这是一个实矩阵类,矩阵大小可更改 (1)矩阵的加、减、数乘和乘等运算; (2)矩阵的转置运算; (3)矩阵列向量的最大值与最小值; (4)矩阵列向量的内积运算,范数; (5)方阵的特征值与特征向量。-This is a real matrix type, matrix size can be changed (1) matrix addition, subtraction, multiplication and multiplication and other operations (2) the matrix transpose operation (3) matrix column vector of the maximum and minimum ( 4) matrix column vector inner product, norm (5) matrix eigenvalues ​ ​ and eigenvectors.
Date : 2026-01-19 Size : 29kb User : sunshine

DL : 0
本实例企业员工IC卡考勤系统用到了IC卡自带的Mwic_32.dll组件,运行前,需将该组件拷贝到Debug文件夹中。可由此开发一个为企业内部员工IC卡考勤的程序,。通过这个源码你还可以学习如何使用和声明动态链接库,设置的一个变量,用于控制一张IC卡只读取一次以及向数据库中只添加一次内容,向IC卡中写数据,读取IC卡中数据,核对卡密码,调用公共类中的ReadIC方法开始循环读取IC卡,端口初始化,设备密码格式,将数据库中的图片转换成二进制流,将字节数组存入到二进制流中,将图片存入到指定的路径等,请注意,IC卡的密码默认为6个F(密码为:ffffff),,作者拥有版权,仅供学习与参考。-Employee IC card attendance system example of the enterprise use the Mwic_32.dll components, IC card comes before the operation, the components are copied to the Debug folder. Thus the development of a for internal staff of IC card program,. Through this source code you can learn how to use and statement of dynamic link library, a variable is set, for the control of an IC card is read only once and only add a content to a database, and write data to the IC card, IC card data read, check card password, the ReadIC method is called public class start loop to read the IC card, port initialization, device password format, the database of images into binary stream, converts a byte array into a binary stream, the image stored in the specified path, please note, the IC card password default to 6 F (Code: ffffff), author, copyright, only to learn with reference to.
Date : 2026-01-19 Size : 621kb User : 余香肉丝

DL : 0
C#课程设计 C#课件 数组 类与对象 决策语句 继承 枚举与结构 管理错误与异常 -C# C# course design courseware making statements with the object array class inheritance enumeration and configuration management errors and exceptions
Date : 2026-01-19 Size : 7.08mb User : 辛辛

DL : 0
3.编写程序:定义一个Person类,要求: ①私有成员数据: ●char ID[ 20 ] //身份证号 ●char *name //存放姓名的动态字符数组的起始地址 ●char *address //存放住址的动态字符数组的起始地址 ②公有成员函数: ●Person ( char *n=0, char *na=0, char *ad=0 ) //构造函数 ●Person ( Person &p ) //拷贝构造函数,实现深拷贝 ●~ Person ( ) //析构函数 ●Person & operator= ( Person &p ) //实现深赋值 ●void show() //输出各成员数据 ③编写main()函数对Person类进行测试。-3. Write a program: Define a Person class requirements: ① private member data: ● char ID [20] // ID number ● char* name // store name starting address dynamic character array ● char* address // store address the dynamic character array starting address ② public member functions: ● Person (char* n = 0, char* na = 0, char* ad = 0) // constructor ● Person (Person & p) // copy constructor, to achieve deep copy ● ~ Person () // destructor ● Person & operator = (Person & p) // achieve deep assignment ● void show () // output data ③ members write main ( ) function of the Person class to be tested.
Date : 2026-01-19 Size : 2.84mb User : 仇一珂

该类功能强大,实现了对数组、类、DataGridView 以XmlHelper的形式存储,同时还实现了以两层节点的形式存储变量。对于桌面程序中各种配置信息的存储非常方便。-It is very powerful and convenient for the configuration storage of the desktop application. Because not only can it be used to save some simple variables, but also it can be store Array,Class,DataGridView and so on directionly.
Date : 2026-01-19 Size : 3kb User :

设计一个数组类模板MyArray<T>,实现一个通用的数组类-Design a template array class MyArray <T> To achieve a common array class
Date : 2026-01-19 Size : 11kb User :
« 12 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.