文件名称:T101211h
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.1kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
利用虚函数手段,按照三种不同的数据存储方式及其处理方法来实现如下的所谓“反序输出问题”:从键盘输入n 个int 型数据先存储起来(具体n 值由用户从键盘输入),而后再按照与输入相反的顺序将这些数据显示示在屏幕上。具体地说,可通过在基类baseCla 及其派生类method1Cla、method2Cla 和method3Cla中说明如下的同一个虚函数“virtual void reverseout()
-Use the virtual function means, in accordance with the three different data storage and treatment methods to achieve the following so-called " reverse order output: n int type data from the keyboard input to stored (n values from the keyboard by the user input) office, and then the reverse order as the input of these data shows shown on the screen. Specifically, by following instructions in the base class baseCla its derived class method1Cla, method2Cla and method3Cla a virtual function virtual void reverseout ()
-Use the virtual function means, in accordance with the three different data storage and treatment methods to achieve the following so-called " reverse order output: n int type data from the keyboard input to stored (n values from the keyboard by the user input) office, and then the reverse order as the input of these data shows shown on the screen. Specifically, by following instructions in the base class baseCla its derived class method1Cla, method2Cla and method3Cla a virtual function virtual void reverseout ()
(系统自动生成,下载前可以参看下载内容)
下载文件列表
T101211h/10121.txt
T101211h
T101211h
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
