-
baseCla
利用虚函数手段,按照三种不同的数据存储方式及其处理方法来实现如下的所谓“反序输出问题”:从键盘输入n 个int 型数据先存储起来(具体n 值由用户从键盘输入),而后再按照与输入相反的顺序将这些数据显示在屏幕上。具体地说,可通过在基类baseCla 及其派生类method1Cla、method2Cla 和method3Cla中说明如下的同一个虚函数“virtual void reverseout() ”,来实现所述问题的三种不同处理方法。例如,可设计并使用已经在第四章和第六章的实践题中所使用的数据存储结构以及处理方法:(1)使用大小为100 的常界数组存放数据;(2)通过new 生成大小恰为n 的动态数组存放数据;(3)使用指针与链表的实现法。(err)
- 2007-12-18 16:30:58下载
- 积分:1
-
Polynomial
Develop class Polynomial. The internal representation of a Polynomial is an array of terms. Each term contains a coefficient and an exponent. The term
2x4
has the coefficient 2 and the exponent 4. Develop a complete class containing proper constructor and destructor functions as well as set and get functions. The class should also provide the following overloaded operator capabilities:
Overload the addition operator (+) to add two Polynomials.
Overload the subtraction operator (-) to subtract two Polynomials.
Overload the assignment operator to assign one Polynomial to another.
Overload the multiplication operator (*) to multiply two Polynomials.
Overload the addition assignment operator (+=), subtraction assignment operator (-=), and multiplication assignment operator (*=).
- 2013-05-05 21:59:33下载
- 积分:1
-
vb-dy-JAVA-WEBSERVER
一个调用JAVA的WEBSERVER的VB6源代码实例,简单明了(A WEBSERVER s VB6 invokes the JAVA source code examples, simple and clear
)
- 2013-08-14 10:42:07下载
- 积分:1
-
CDDoor
实现打开和关闭光驱功能,调用API实现,实现打开和关闭光驱功能,调用API实现(To achieve open and close the CD-ROM features, API calls, achieving open and close the CD-ROM features, API calls to achieve)
- 2013-09-15 19:57:57下载
- 积分:1
-
arcengine
arcengine开发手册,非常适合初学者入门学习,开发人员也可以参考(ArcEngine all interfaces and classes diagram, clarity)
- 2013-08-12 17:22:15下载
- 积分:1
-
port_dll
vc++6.0开发的,可通过此动态链接库向串口发送命令、信息。可用于串口程序的开发,非常有用。(vc 6.0 development, through this dynamic link library sent to the serial order information. Serial procedures can be used for the development, very useful.)
- 2007-04-20 10:17:54下载
- 积分:1
-
modbus
modbus rtu 校验vb源码,对VB学习者很有帮助(modbus rtu checksum vb source code, useful for VB learner)
- 2010-02-20 14:36:17下载
- 积分:1
-
DataCollectionSystem
徕卡TCA1800自动监测系统,可以应用于各种变形监测,用于数据的自动采集、保存以及平差处理,代码完整。(Leica TCA1800 automatic monitoring system that can be applied to a variety of deformation monitoring for automatic data collection, preservation, and adjustment processing, code integrity.)
- 2021-02-01 14:00:00下载
- 积分:1
-
同时打开多个文件并在多个窗口显示
用vb实现同时打开多个文件并在多个窗口显示,一个经典例子极具参考价值(used simultaneously open multiple documents in multiple windows, a classic example of great reference value)
- 2020-07-28 17:08:41下载
- 积分:1
-
traffic
[基本要求]
(1)提供对城市信息进行编辑(如:添加功删除)的功能
(2)城市之间有两面种交通工具:火车和飞机。提供对列车时间表和飞机航班进行编辑(增设或删除)的功能。
(3)提供两面种最优决策:最快到达或最省钱到达。全程只考虑一种交通工具。
(4)旅途中耗费的总时间应该包括中转站的等候时间。
(5)咨询以用户和计算机的对话方式进行。由用户输入起始站、终点站、最优决策原则和交通工具,输出信息:最快需要多长时间才能到达或者最少需要多少旅费才能到达,并详细说明依次于何时坐哪一趟列车哪一次班机到何地。
[实现提示]
(1)对全国城市交通图和列车时刻表及飞机航班表的编辑,应该提供文件形式输入和键盘输入两种方式。飞机航班表的信息包括:起始站台票出发时间、终点站的到达时间和票价;列车时刻表则根据交通图给出各个路段的详细信息。
(2)以邻接表作交通图的存储结构,表示边的结点内除了含有邻接点的信息外,还应包括交通工具、路程中消耗的时间和花费以及出发和到达的时间等多项属性。
()
- 2008-07-07 00:17:13下载
- 积分:1