Location:
Search - xuhanshu
Search list
Description: 关于c++虚函数的运用
主要功能是实现一个类似与问题提问的回答.-c on the use of virtual function main function is to achieve a similar problem with the question answered.
Platform: |
Size: 885 |
Author: eric |
Hits:
Description: 关于c++虚函数的运用
主要功能是实现一个类似与问题提问的回答.-c on the use of virtual function main function is to achieve a similar problem with the question answered.
Platform: |
Size: 1024 |
Author: eric |
Hits:
Description: vc++虚函数实验,大学visual c++实验内容-vc++ virtual function experiments, the University of visual c++ experimental content
Platform: |
Size: 5120 |
Author: yangwenjun |
Hits:
Description: 在linux文件系统下,实现虚函数,简单地说,那些被virtual关键字修饰的成员函数,就是虚函数。虚函数的作用,用专业术语来解释就是实现多态性(Polymorphism),多态性是将接口与实现进行分离;用形象的语言来解释就是实现以共同的方法,但因个体差异而采用不同的策略-In linux file system, the virtual function implementation, easy to say that those who have been modified by the keyword virtual member function is virtual function. The role of virtual function, using professional terminology to explain is to achieve polymorphism (Polymorphism), polymorphism is the separation of interface and implementation with the image of the language to explain that in order to achieve a common methodology, but due to individual differences and different strategy
Platform: |
Size: 4174848 |
Author: 天行 |
Hits:
Description: 利用虚函数手段,按照3种不同的计算方法来求出Fibonacci数列的第n项(的具体项值)并输出。具体地说,可通过在基类baseCla及其派生类fib1Cla、fib2Cla和fib3Cla中说明如下的同一个虚函数“virtual double fib(int n) ”,来实现求Fibonacci数列第n项值并返回的3种不同求解方法。例如,可设计并使用已经在第4和第5章的练习中所实现的求解方法:简单变量“数据平移”法、使用数组的实现法以及使用递归函数的实现法。-The use of virtual function means, in accordance with three kinds of different methods of calculation to find Fibonacci series, the first n items (specific items of value) and the output. Specifically, through the base class baseCla its derived classes fib1Cla, fib2Cla and fib3Cla described in the following virtual function with a " virtual double fib (int n) " , to achieve the first n order to Fibonacci sequence item value and return 3 different solutions are given. For example, can be designed and has been used in section 4 and Chapter 5 of the exercise achieved by solving method: simple variable " data translation" method, using an array implementation of law and the implementation method to use recursive functions.
Platform: |
Size: 1024 |
Author: lixuhui |
Hits:
Description: (1)掌握动态联编的概念;
(2)掌握虚函数和纯虚函数的使用方法;
(3)掌握抽象类的使用。
-this is a good passage for college student
Platform: |
Size: 6144 |
Author: 李超 |
Hits:
Description: C++虚函数的应用举例,以及一些虚函数的特点分析及注意事项-C++ virtual function of the application examples, and some characteristics of virtual functions and Notes
Platform: |
Size: 119808 |
Author: xujie |
Hits:
Description: 一个程序计算三角,正方形和圆形的面积。
分析:依题意,可以抽象出一个基类CBase,在其中说明一个虚函数,用来求面积,并利用单接口、多实现版本设计各个图形求面积的方法。C++初学者的大作业
-A program to calculate the triangle, square and round the area. Analysis: According to the meaning of problems can be an abstract base class CBase, which shows a virtual function, used to find the area and use a single interface, multiple implementations of the design requirements of each area of graphical methods. C++ beginners big job
Platform: |
Size: 3072 |
Author: 刘璐 |
Hits:
Description: 利用多态性可以设计和实现一个易于扩展的系统。在C++程序设计中,多态性是指具有不同功能的函数可以用同一个函数名,这样就可以用一个函数名调用不同内容的函数。
-The use of polymorphism can design and implement a scalable system. In C++ programming, polymorphism refers to a function with different functions can use the same function name, so that you can use a function name to call different content function.
Platform: |
Size: 478208 |
Author: yuanyuan |
Hits:
Description: C++通过虚函数实现多态."无论发送消息的对象属于什么类,它们均发送具有同一形式的消息,对消息的处理方式可能随接手消息的对象而变"的处理方式被称为多态性。”-C++ through virtual functions to achieve polymorphism. " No matter what kind of object to send a message, they are sent with the same form of news, the news treatment may vary with took over the news object change" approach is called polymorphism.
Platform: |
Size: 8192 |
Author: 李昶 |
Hits:
Description: C++中虚函数和纯虚函数区别-C++ the virtual function and pure virtual function difference ..........
Platform: |
Size: 36864 |
Author: 陈思雨 |
Hits:
Description: c++初学者使用的相关测试程序 笔者独立编写的-I c++ relevant test procedures for beginners to use separate written
Platform: |
Size: 9216 |
Author: 小白 |
Hits:
Description: 关于C++中虚函数的使用的几个编程例子。(Several programming examples on the use of virtual functions in C++)
Platform: |
Size: 4096 |
Author: 时年 |
Hits: