virtual function 双语例句
全部
1·ADD Virtual function... not member function.
是添加虚函数不是成员函数。
2·Why using cannot be used to define a virtual function?
为什么使用不能用于定义一个虚函数?。
3·This effectively hides the virtual function in the base class.
这有效地隐藏了基类中的虚函数。
4·Virtual Function is the method to realize dynamic polymorphism.
虚函数是实现动态多态性的方法。
5·The code generated for the pure virtual function is shown in Listing 1.
为纯虚函数所生成的代码如列表 1 中所示。
6·This function is really a message handler, not a virtual function.
这个函数是一个真正的消息句柄,不是虚函数。
7·Firstly, you should know what a virtual function is, and how to use it.
首先,你应该知道什么是虚函数,以及如何使用它。
8·If a virtual function is private, it cannot be accessed by a derived type.
如果某虚函数为私有函数,则派生类型无法访问它。
9·The code generated for the virtual function in a header file is shown in Listing 2.
在头文件中为该虚函数所生成的代码如列表2中所示。
10·Listing 1 defines three classes (a, B and c) with a common virtual function WhoAmI .
清单1定义了三个类(A、b和c),它们有一个共同的虚函数whoami 。
