代码搜索:Lab
找到约 10,000 项符合「Lab」的源代码
代码结果 10,000
www.eeworm.com/read/126656/14409935
cpp prototype_lab.cpp
// Purpose. Prototype design pattern lab
//
// Problem. See the problem statement for the Factory Method lab. Beyond
// the issues discussed there, we would also like to eliminate the "case"
// sta
www.eeworm.com/read/126656/14409938
cpp factory_lab.cpp
// Purpose. Abstract Factory design pattern lab.
//
// Problem. #ifdef case statements are spread throughout the code to
// accomodate 3 different porting targets. This makes maintenance
// diffic
www.eeworm.com/read/126656/14409939
cpp factorymethod_lab.cpp
// Purpose. Factory Method design pattern lab
//
// Problem. The client code in main() is doing a good job of depending only
// on an abstract base class (FederalFraudvillian), and not getting coupl
www.eeworm.com/read/126655/14409945
cpp composite_lab.cpp
// Purpose. Composite design pattern lab.
//
// Problem. Approach is now more space efficient, but casting and type
// checking are required to coerce the compiler. The abstraction needs to
// be i
www.eeworm.com/read/126655/14409947
cpp decorator_lab.cpp
// Purpose. Decorator design pattern lab
//
// Problem. Inheritance is being used to produce lots of incremental
// customizations. This is fine - until all the potential permutations of
// opt
www.eeworm.com/read/126655/14409949
cpp command_lab.cpp
// Purpose. Command design pattern lab
//
// Problem. Encapsulation is an excellent tool for mitigating complexity.
// Here, the notion of a "command" has been designed that encapsulates a
// reque
www.eeworm.com/read/126654/14409958
cpp chain_lab.cpp
// Purpose. Chain of Responsibility design pattern lab
//
// Problem. Four Slot objects are being used, and the client has to know
// about and interact with all of them. It would be preferable to
www.eeworm.com/read/126654/14409961
cpp adapter_lab.cpp
// Purpose. Adapter design pattern lab
//
// Problem. Simulated here is a "stack machine", or a non-OO
// implementation of a Stack class. We would like to reuse this "legacy"
// asset as the
www.eeworm.com/read/126654/14409963
cpp bridge_lab.cpp
// Purpose. Bridge design pattern lab
//
// Problem. Our Stack class needs to allow the client to specify at
// run-time what implementation strategy to employ (i.e. list vs array).
//
// Assignme
www.eeworm.com/read/126004/14452392