登录
首页 » Visual C++ » baseCla

baseCla

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

代码说明:

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

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

发表评论


0 个回复

  • ADODateGrid
    使用SQL语句对数据库进行通用操作,使用DataGrid控件显示,VC++经典编程学习源码,很好的参考资料。(Use the SQL statement to the general operation of the database, use the DataGrid control to display, VC++ classic learning programming source code, a good reference.)
    2013-11-25 12:52:36下载
    积分:1
  • PendMove
    常用RS232串口通用库类,可直接使用,谢谢大家~(The common library of the RS232)
    2013-08-31 22:13:51下载
    积分:1
  • MFCODBCaccess
    VC++ 使用MFC ODBC访问数据库,请注意:在VC环境下运行程序前,必须注册ODBC数据源,数据库文件为bookinfo.mdb,数据源名称为bookinfo,直接运行可执行文件也需要将数据库文件与可执行文件放在同一路径下。(VC++ using MFC ODBC to access the database, please note: In the VC environment before running the program, you must register ODBC data source, the database file is bookinfo.mdb, data source name is bookinfo, also need to run an executable file with an executable database files files in the same path.)
    2014-02-21 16:46:07下载
    积分:1
  • 8051Pproteus-27
    《单片机C语言程序设计实训100例——基于8051+Proteus仿真》案例压缩包 第 01 篇 基础部分27 TIMER0控制单只LED闪烁(" Microcontroller C Programming Language Training 100 cases- based on 8051+ Proteus simulation" case archive basis of Article 01 part 27 TIMER0 single LED flash control)
    2011-07-27 21:43:45下载
    积分:1
  • hpxxar561
    Resource name HTTP and multi-threaded download
    2018-11-26 14:44:27下载
    积分:1
  • waiguaicodes
    几十个外挂源码集合,绝对是学习外挂的好参考,超级酷酷酷!(dozens external source pool is definitely a good learning external reference, the super grumbling but Cool!)
    2020-06-26 08:00:02下载
    积分:1
  • UartAssist
    这个是非常流行的串口调试工具的VC++源代码,对于需要深入了解串口通信的朋友非常有帮助,需要的朋友可以看看。(This is a very popular tool for serial debug VC++ source code, the need for deeper understanding of serial communication very helpful friend, a friend in need can take a look at.)
    2021-04-22 15:38:49下载
    积分:1
  • simpleUSB
    说明:  最简单的USB通讯上位机程序,实现发送和接收。(The simplest PC USB communications process, the achievement of sending and receiving.)
    2020-11-13 23:59:43下载
    积分:1
  • Calc
    a simple Calc Pro from my fist work in VB studio
    2009-10-31 19:23:30下载
    积分:1
  • SyxKey5.6
    魔兽改键,vc++编写,功能比较简单。 魔兽改键,vc++编写,功能比较简单。(war3)
    2010-06-16 14:36:32下载
    积分:1
  • 696518资源总数
  • 104670会员总数
  • 38今日下载