随笔分类 -  Cpp programming

CPlusPlus programming language
摘要:// Gold.h : 此文件包含 "Gold" 类。Observer Pattern 观察者模式 C++ 14 // Jewelry Observer Pattern 观察者模式 // 2023年5月10日 涂聚文 Geovin Du Visual Studio 2022 edit. #pragm 阅读全文
posted @ 2023-05-11 21:57 ®Geovin Du Dream Park™ 阅读(17) 评论(0) 推荐(0) 编辑
摘要:// DuStudent.h : 此文件包含 "DuStudent" 类。策略模式 Strategy Pattern C++ 14 // 2023年5月1日 涂聚文 Geovin Du Visual Studio 2022 edit. #pragma once #ifndef DUSTUDENT_H 阅读全文
posted @ 2023-05-08 23:10 ®Geovin Du Dream Park™ 阅读(16) 评论(0) 推荐(0) 编辑
摘要:在 Visual Studio 调试器中使用“内存”窗口(C#、C++、Visual Basic、F#) 在调试器中查看变量的内存 - Visual Studio (Windows) | Microsoft Learn /// <summary> /// 冒泡排序函数 /// int * arr 也 阅读全文
posted @ 2023-05-07 11:12 ®Geovin Du Dream Park™ 阅读(42) 评论(0) 推荐(0) 编辑
摘要:// Gold.h : 此文件包含 "Gold" 类。策略模式 Strategy Pattern C++ 14 // 2023年5月1日 涂聚文 Geovin Du Visual Studio 2022 edit. #pragma once //#ifndef GOLD_H //#define GO 阅读全文
posted @ 2023-05-05 09:47 ®Geovin Du Dream Park™ 阅读(18) 评论(0) 推荐(0) 编辑
摘要:1.Creational Design Patterns 创建型模式Factory Method 工厂方法模式Abstract Factory 抽象工厂模式Builder 生成器模式Prototype 原型模式Singleton 单例模式 2.Structural Design Patterns 结 阅读全文
posted @ 2023-05-05 00:54 ®Geovin Du Dream Park™ 阅读(13) 评论(0) 推荐(0) 编辑
摘要:// Gold.h : 此文件包含 "Gold" 类。 Builder Pattern C++ 14 // Jewelry Builder Pattern 生成器模式 建造者模式、Builder // 2023年5月1日 涂聚文 Geovin Du Visual Studio 2022 edit. 阅读全文
posted @ 2023-05-03 00:38 ®Geovin Du Dream Park™ 阅读(21) 评论(0) 推荐(0) 编辑
摘要:// Gold.h : 此文件包含 "Gold" 类。原型模式 Prototype Pattern C++ 14 // 2023年5月1日 涂聚文 Geovin Du Visual Studio 2022 edit. #pragma once #ifndef GOLD_H #define GOLD_ 阅读全文
posted @ 2023-05-02 18:34 ®Geovin Du Dream Park™ 阅读(12) 评论(0) 推荐(0) 编辑
摘要:// Gold.h : 此文件包含 "Gold" 类。Abstract Factory Pattern C++ 14 // 2023年4月30日 涂聚文 Geovin Du Visual Studio 2022 edit. #pragma once #ifndef GOLD_H #define GO 阅读全文
posted @ 2023-05-02 12:04 ®Geovin Du Dream Park™ 阅读(10) 评论(0) 推荐(0) 编辑
摘要:// Monster.h : 此文件包含 "Monster" 类。Abstract Factory Pattern C++ 14 // 2023年4月29日 涂聚文 Geovin Du Visual Studio 2022 edit. #pragma once #ifndef MONSTER_H # 阅读全文
posted @ 2023-04-30 20:27 ®Geovin Du Dream Park™ 阅读(16) 评论(0) 推荐(0) 编辑
摘要:文章来源《C++新经典设计模式》 王健伟编著 清华大学出版社 // TemplateMethonPattern.h : 此文件包含 "TemplateMethonPattern" 类。Template Mothod Pattern C++ 14 // 2023年4月29日 涂聚文 Geovin Du 阅读全文
posted @ 2023-04-29 21:24 ®Geovin Du Dream Park™ 阅读(19) 评论(0) 推荐(0) 编辑
摘要:win10 64位* 控程台936,程序文件UTF-8,输入可以获得中文字,输出中文没有问题(需要转码),保存的text文件编码utf-8 (需要转码)* 控程台65001 程序文件utf-8 输入中文获得是乱码,输出中文没有问题(需要代码设置),保存的text文件编码utf-8(需要转码)* 控制 阅读全文
posted @ 2023-04-24 20:54 ®Geovin Du Dream Park™ 阅读(238) 评论(0) 推荐(0) 编辑
摘要:叮𪠽𪠽𪀋𪀋𪀋𪠽 /*****************************************************************//** * \file geovindu.h * \brief 业务操作方法 * * \author geovindu,Geovin Du 阅读全文
posted @ 2023-04-22 20:51 ®Geovin Du Dream Park™ 阅读(52) 评论(0) 推荐(0) 编辑
摘要:VS 2022 C++有两种注释方法,一种C++的,还有一种和C#差不多。 读写文件有生成有报错,文件头行加上这行代码 #define _CRT_SECURE_NO_WARNINGS 自定义数据结构数组指针,类对象指针,不熟,瞎摸象,我不知道赋值,调用...... /**************** 阅读全文
posted @ 2023-04-22 00:31 ®Geovin Du Dream Park™ 阅读(19) 评论(0) 推荐(0) 编辑
摘要:// StudentArry.h : 此文件包含 "StudentArry" 类。学生数组成绩显示方法 C++ 14 // 2023年4月9日 涂聚文 Geovin Du edit. //(1)vec1.size() 就是”二维数组”的行数 //(2)vec1[0].size() 就是”二维数组”的 阅读全文
posted @ 2023-04-18 23:22 ®Geovin Du Dream Park™ 阅读(28) 评论(0) 推荐(0) 编辑
摘要:// StudentArry.cpp : //练习案例:学生数组成绩显示方法 StudentArry //案例描述:学生数组成绩显示方法 #include "StudentArry.h" #include <iostream> #include <string> #include <vector> 阅读全文
posted @ 2023-04-17 00:43 ®Geovin Du Dream Park™ 阅读(24) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示