代码搜索:Inheritance
找到约 1,689 项符合「Inheritance」的源代码
代码结果 1,689
www.eeworm.com/read/454186/7397208
txt copy of inheritance_in_c++.txt
#include
#include
#include
class A
{
public:
A()
{
cout
www.eeworm.com/read/319487/13450497
cc ch8.3inheritance.cc
#include
class BB {
private:
int i;
protected:
float f;
public:
double d;
BB(int a, float b, double c): i(a), f(b), d(c) { }
void print() {
std::cout
www.eeworm.com/read/306003/13755234
zip soln-simulation-inheritance.zip
www.eeworm.com/read/136989/5829767
h multiple_inheritance_i.h
// Multiple_Inheritance_i.h,v 1.7 2002/01/29 20:21:08 okellogg Exp
#include "Multiple_InheritanceS.h"
ACE_RCSID(Multiple_Inheritance, Multiple_Inheritance_i, "Multiple_Inheritance_i.h,v 1.7 2002
www.eeworm.com/read/477696/6731417
java example03_inheritance.java
package example;
/* 测试继承、上转型对象、多态性 */
class Animal
{
public void cry()
{
System.out.println("杂音...");
}
}
class Dog extends Animal
{
public void cry()
{
System.out.printl
www.eeworm.com/read/251577/12333719
h stlsoft_inheritance_disambiguator.h
#ifndef STLSOFT_INCL_STLSOFT_H_STLSOFT
# include
#endif /* !STLSOFT_INCL_STLSOFT_H_STLSOFT */
#ifdef STLSOFT_CF_PRAGMA_MESSAGE_SUPPORT
# pragma message("This file is now obso
www.eeworm.com/read/251577/12335998
hpp explicit_inheritance_veneer.hpp
/* /////////////////////////////////////////////////////////////////////////
* File: stlsoft/explicit_inheritance_veneer.hpp (formerly stlsoft_explicit_inheritance_veneer.h)
*
* Purpose:
www.eeworm.com/read/260165/4335115
hpp explicit_inheritance_veneer.hpp
/* /////////////////////////////////////////////////////////////////////////
* File: stlsoft/obsolete/explicit_inheritance_veneer.hpp
*
* Purpose: Explicit inheritance veneer class.
www.eeworm.com/read/266116/11239990
cpp demo_inheritance_4_a.cpp
//***************************************************
// 派生类重定义同名覆盖屏蔽继承成员与作用域分辨
//***************************************************
#include
class A //声明基类A
{
public: //外部接口
www.eeworm.com/read/266116/11239992
cpp demo_inheritance_2_a.cpp
//***************************************************
// 私有继承类
//***************************************************
#include
#include
class Point //基类声明
{
public:
v