代码搜索:composition
找到约 1,051 项符合「composition」的源代码
代码结果 1,051
www.eeworm.com/read/265946/4280158
cpp thread.cpp
// -*- c-basic-offset: 4 -*-
// -*- c-file-style: "bsd" -*-
// This does some rather shoddy tests on a small selection of core classes.
#include "Lock.h"
#include "Composition.h"
#include "Segment.
www.eeworm.com/read/113029/15472405
cpp fig07_10.cpp
// Fig. 7.10: fig07_10.cpp
// Demonstrating composition--an object with member objects.
#include
using std::cout;
using std::endl;
#include "employee1.h" // Employee class definit
www.eeworm.com/read/110993/15520685
cpp combined.cpp
//: C14:Combined.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Inheritance & composition
www.eeworm.com/read/184890/9067350
cpp combined.cpp
//: C14:Combined.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Inheritance & composition
cl
www.eeworm.com/read/281673/9141996
cpp combined.cpp
//: C14:Combined.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Inheritance & composition
cl
www.eeworm.com/read/377523/9272594
java bath.java
//: c06:Bath.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Constructor initialization with composition.
class Soap {
www.eeworm.com/read/377523/9272597
java sprinklersystem.java
//: c06:SprinklerSystem.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Composition for code reuse.
class WaterSource {
www.eeworm.com/read/377523/9272613
java placesetting.java
//: c06:PlaceSetting.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Combining composition & inheritance.
class Plate {
www.eeworm.com/read/363888/9932910
cpp combined.cpp
//: C14:Combined.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Inheritance & composition
cl
www.eeworm.com/read/355030/10300161
cpp combined.cpp
//: C14:Combined.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Inheritance & composition
cl