登录
首页 » Visual C++ » baseCla

baseCla

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

代码说明:

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

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

发表评论

0 个回复

  • imagineprocess1
    针对存储的位图,实现对于其的淡入淡出的功能(Bitmap for storage, to achieve the fade to its function)
    2009-01-20 20:09:15下载
    积分:1
  • The-basis-for-computer-game
    本书介绍了如何以Visual C++及DirectX 来设计游戏,深入浅出的概念讲解 与游戏实例相结合来逐步实现自己制作游戏的。本书从游戏画面绘制、游戏输 入消息处理、游戏动画技巧、游戏物理现象设计原理、游戏人工智能及如何进 入3D 世界等基本的游戏设计基础。除了让学习者有清楚的基础概念以外,还能 实际地应用于游戏设计。(This book describes how to design games with Visual C++ and DirectX, explanation and game instances combine to explain the concept of progressive realization of their own making games. From the game screen to draw the book enter the messaging, gaming, animation, game tips, game design principles, physical phenomena of game artificial intelligence and how to enter the 3D world, and other basic fundamentals of game design. In addition to that learners have clear concepts, but also actual in game design.)
    2012-05-10 11:26:55下载
    积分:1
  • commassist
    visual C++ MFC 环境下 串口的连接,收发数据的实现,串口探测工具部分功能的实现(Serial port connection)
    2013-07-20 17:03:57下载
    积分:1
  • Secret_hacker_disassembly
    黑客反汇编揭秘................(Secret_hacker_disassembly )
    2010-11-03 14:43:55下载
    积分:1
  • 200562241642141
    说明:  遍历文件夹并建成目录树,一个非常好的例子(Traverse Folder and build the directory tree, a very good example)
    2008-11-26 18:55:39下载
    积分:1
  • DlgCSClient
    好东西大家共同分享啊,我这可是收藏的一点好东西啊, 好好利用和学习吧,画CDC的确(good things to share with you ah, but this collection of 1:00 ah good things that make the best use of it and learning. CDC is the Eastern painting)
    2006-11-23 10:32:42下载
    积分:1
  • huanghaibochengxu
    黄海波老师lbm模拟的有关程序,模拟的相变有关现象(Huang Haibo LBM simulated the program, simulating the phase transition phenomenon)
    2021-04-02 10:39:07下载
    积分:1
  • Encryption
    本文介绍利用注册码(序列号)软件加密方法,该方法可实现一机一个流册码,解密难度大(this document introduce how to protect your software by encrypt the application)
    2014-02-12 22:51:54下载
    积分:1
  • GPIO-LED
    这是一个基于Linux平台开发的2410-LED驱动程序(This is a Linux-based platform developed 2410-led driver)
    2012-07-09 09:05:51下载
    积分:1
  • how_many_fibs
    Recall the definition of the Fibonacci numbers: f1 := 1 f2 := 2 fn := fn-1 + fn-2 (n>=3) Given two numbers a and b, calculate how many Fibonacci numbers are in the range [a,b]. (Recall the definition of the Fibonacci numbers: f1 := 1 f2 := 2 fn := fn-1+ fn-2 (n>=3) Given two numbers a and b, calculate how many Fibonacci numbers are in the range [a,b]. )
    2009-11-27 15:18:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载