登录
首页 » Visual C++ » baseCla

baseCla

于 2007-12-18 发布 文件大小:1KB
0 292
下载积分: 1 下载次数: 3

代码说明:

  利用虚函数手段,按照三种不同的数据存储方式及其处理方法来实现如下的所谓“反序输出问题”:从键盘输入n 个int 型数据先存储起来(具体n 值由用户从键盘输入),而后再按照与输入相反的顺序将这些数据显示在屏幕上。具体地说,可通过在基类baseCla 及其派生类method1Cla、method2Cla 和method3Cla中说明如下的同一个虚函数“virtual void reverseout() ”,来实现所述问题的三种不同处理方法。例如,可设计并使用已经在第四章和第六章的实践题中所使用的数据存储结构以及处理方法:(1)使用大小为100 的常界数组存放数据;(2)通过new 生成大小恰为n 的动态数组存放数据;(3)使用指针与链表的实现法。(err)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • AK8975驱动
    AK8975驱动 用于嵌入式设备。简单移植后可用(driver for ak8975 )
    2020-07-19 19:38:48下载
    积分:1
  • 34980A_VISA_Com_and_VB60_Measurement_Example_Progr
    一段VB写的GPIB控制程序,希望大家多多指导.(write a VB GPIB control procedures, I hope Members can guide.)
    2007-01-30 13:47:06下载
    积分:1
  • 485546
    设置列表控件的显示方式,VC++精选编程源码,很好的参考资料。(Set display mode list control, VC++ programming source code, a good reference.)
    2013-12-01 14:08:17下载
    积分:1
  • FileStreamWrite
     C#中的StreamWrite用法实例演示,使用StreamWrite读取和写入文件内容,操作对象为TXT文本,但操作其它文件的方法和思路与此相同,对StreamWrite用法不熟悉的C#初学者,您可不要错过这个具有针对性的实例。提供完整的C#源码下载。(In C# StreamWrite usage examples demonstrate, using StreamWrite read and write the contents of the file, operation objects as TXT, but to operate other files the same methods and ideas with this, not familiar with C# beginners StreamWrite usage, you can not miss This targeted instance. Provide a complete C# source code download.)
    2013-04-20 20:11:47下载
    积分:1
  • SKYBOX
    游戏中天空盒的模拟实现,鼠标控制观察这个天空盒,工程的构架可以通用,极大方便读者。(Game simulation of the realization of the sky box, mouse control to observe the sky boxes, the project can be generic framework, which greatly facilitate the reader.)
    2008-07-09 19:02:30下载
    积分:1
  • jetdrillingtooptimizethedesignofhydraulicparameter
    本程序是我毕业设计做的喷射钻井水力参数 优化设计。其中有泵压的自动绘图。(I graduated from this program is designed to do the jet drilling to optimize the design of hydraulic parameters. Among them, the automatic pump pressure mapping.)
    2021-01-19 07:38:42下载
    积分:1
  • vb
    说明:  竖曲线vb编写的 简单的程序 可以适合初学者。为以后打好基础,多学多看、(Vertical curve to prepare a simple VB program can be suitable for beginners. Lay a good foundation for the future, to learn more, )
    2014-02-28 02:00:34下载
    积分:1
  • MyHanio1
    一个用mfc实现的带界面汉诺塔源程序,可手动输入最多15层。(An interface using mfc achieved with HANOR source, you can manually enter up to 15 layers.)
    2013-11-06 19:40:59下载
    积分:1
  • GetXSL
    一个基于MFC操作excel表格的应用程序。根据需求生成一张刻度与数据对应的excel表(MFC-based operation excel spreadsheet application. Excel sheet with a scale corresponding to the data generated on demand)
    2013-11-25 21:19:54下载
    积分:1
  • siyiren-dlfj
    说明:  环境动力系统,希望对大家有用,哈哈,用于他处后果自负啊(Power system environment, useful for all of us hope, ha ha, for the consequences of his own Department ah)
    2009-08-19 09:44:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载