上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 118 下一页
摘要: /*****************************************************************//** * \file GoldDir.h * \brief 组合模式CompositePattern 亦称: 对象树、Object Tree、Composite c 阅读全文
posted @ 2023-05-28 14:02 ®Geovin Du Dream Park™ 阅读(21) 评论(0) 推荐(0)
摘要: C++已经是个多重泛型编程语言(multiparadigm programming lauguage),一个同时支持过程形式(procedural)、面向对象形式(object-oriented)、函数形式(functional)、范型形式(generic)、元编程形式(metaprogrammin 阅读全文
posted @ 2023-05-27 13:10 ®Geovin Du Dream Park™ 阅读(33) 评论(0) 推荐(0)
摘要: /*****************************************************************//** * \file Gold.h * \brief Command Pattern 命令模式 亦称:动作、事务、Action、Transaction、Comman 阅读全文
posted @ 2023-05-27 05:09 ®Geovin Du Dream Park™ 阅读(25) 评论(0) 推荐(0)
摘要: 指针读二维数组 int arr[3][4] = { {14,2,3,14},{14,5,6,7} ,{18,9,10,11} }; int* p; p = arr[0]; for (int i = 0; i < sizeof(arr) / sizeof(int); i++) { cout <<"\t 阅读全文
posted @ 2023-05-21 10:27 ®Geovin Du Dream Park™ 阅读(18) 评论(0) 推荐(0)
摘要: /*****************************************************************//** * \file GoldGraphic.h * \brief Facade Pattern 外观模式 * 涂聚文 Geovin Du Visual Studi 阅读全文
posted @ 2023-05-20 14:34 ®Geovin Du Dream Park™ 阅读(21) 评论(0) 推荐(0)
摘要: /*****************************************************************//** * \file GoldConfig.h * \brief Singleton Pattern 单例模式 单件模式、Singleton * * \author 阅读全文
posted @ 2023-05-20 09:51 ®Geovin Du Dream Park™ 阅读(14) 评论(0) 推荐(0)
摘要: /*****************************************************************//** * \file TwoCupsOfWaters.h * \brief * 平衡数的定义:将一个数分成左右两部分,分别成为2个新数。左右不分必须满足: * 1、 阅读全文
posted @ 2023-05-20 07:42 ®Geovin Du Dream Park™ 阅读(22) 评论(0) 推荐(0)
摘要: // DuControl.h: 此文件包含 "DuControl" 类。装饰器模式 Decorator Pattern C++ 14 // //装饰者模式、装饰器模式、Wrapper、Decorator Pattern // 2023年5月1日 涂聚文 Geovin Du Visual Studio 阅读全文
posted @ 2023-05-18 21:40 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要: // ConsoleStructSimpleApp.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <iostream> #include <fstream>//文件操作 #include <sstream>//int转string #include 阅读全文
posted @ 2023-05-14 14:45 ®Geovin Du Dream Park™ 阅读(46) 评论(0) 推荐(0)
摘要: // SupperGold.h : 此文件包含 "SupperGold" 类。Observer Pattern 观察者模式 C++ 14 // Jewelry Observer Pattern 观察者模式 // 2023年5月10日 涂聚文 Geovin Du Visual Studio 2022 阅读全文
posted @ 2023-05-12 21:45 ®Geovin Du Dream Park™ 阅读(16) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 118 下一页