会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
®Geovin Du Dream Park™
why we only heard about haves and have-nots, but we did'nt heard about doers and doer-nots. 人生是一种心境,生活是一种艺术,成功是一种心态,幸福是一种感觉,竞争是一种建构,情感是一种容合.学习是一种成长.
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
Cpp programming
上一页
1
2
3
4
5
下一页
CPlusPlus programming language
cpp: Builder Pattern
摘要:// 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™
阅读(26)
评论(0)
推荐(0)
cpp: Prototype Pattern
摘要:// 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™
阅读(23)
评论(0)
推荐(0)
cpp: Abstract Factory Pattern
摘要:// 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™
阅读(16)
评论(0)
推荐(0)
cpp: Simple Factory Pattern
摘要:// 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™
阅读(28)
评论(0)
推荐(0)
cpp: Template Mothod Pattern
摘要:文章来源《C++新经典设计模式》 王健伟编著 清华大学出版社 // TemplateMethonPattern.h : 此文件包含 "TemplateMethonPattern" 类。Template Mothod Pattern C++ 14 // 2023年4月29日 涂聚文 Geovin Du
阅读全文
posted @
2023-04-29 21:24
®Geovin Du Dream Park™
阅读(28)
评论(0)
推荐(0)
cpp: 因控制台65001,936 中文输入问题
摘要:win10 64位* 控程台936,程序文件UTF-8,输入可以获得中文字,输出中文没有问题(需要转码),保存的text文件编码utf-8 (需要转码)* 控程台65001 程序文件utf-8 输入中文获得是乱码,输出中文没有问题(需要代码设置),保存的text文件编码utf-8(需要转码)* 控制
阅读全文
posted @
2023-04-24 20:54
®Geovin Du Dream Park™
阅读(289)
评论(0)
推荐(0)
cpp: read and write utf-8 text file using vs 2022
摘要:叮𪠽𪠽𪀋𪀋𪀋𪠽 /*****************************************************************//** * \file geovindu.h * \brief 业务操作方法 * * \author geovindu,Geovin Du
阅读全文
posted @
2023-04-22 20:51
®Geovin Du Dream Park™
阅读(81)
评论(0)
推荐(0)
cpp: pointer
摘要:VS 2022 C++有两种注释方法,一种C++的,还有一种和C#差不多。 读写文件有生成有报错,文件头行加上这行代码 #define _CRT_SECURE_NO_WARNINGS 自定义数据结构数组指针,类对象指针,不熟,瞎摸象,我不知道赋值,调用...... /****************
阅读全文
posted @
2023-04-22 00:31
®Geovin Du Dream Park™
阅读(47)
评论(0)
推荐(0)
cpp:Double Dimensional Array using vector 2
摘要:// 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™
阅读(38)
评论(0)
推荐(0)
cpp:Double Dimensional Array using vector
摘要:// StudentArry.cpp : //练习案例:学生数组成绩显示方法 StudentArry //案例描述:学生数组成绩显示方法 #include "StudentArry.h" #include <iostream> #include <string> #include <vector>
阅读全文
posted @
2023-04-17 00:43
®Geovin Du Dream Park™
阅读(36)
评论(0)
推荐(0)
cpp: SQLite
摘要:lib /def:sqlite3.def /machine:ix86 如果程序文件编码是ANSI时还需要解决中文读写乱码问题 sqlite3* sql = NULL; // 一个打开的数据库实例 const char* path = "geovindu";//某个sql文件的路径 // 根据文件路径
阅读全文
posted @
2023-04-15 13:24
®Geovin Du Dream Park™
阅读(44)
评论(0)
推荐(0)
cpp: vector
摘要:// NarcissisticInfo.h : //练习案例:水仙花数 100 - 1000 NarcissisticNumber //案例描述:水仙花数是指一个 3 位数,它的每个位上的数字的 3次幂之和等于它本身 //例如:1 ^ 3 + 5 ^ 3 + 3 ^ 3 = 153 //请利用do.
阅读全文
posted @
2023-04-13 17:10
®Geovin Du Dream Park™
阅读(32)
评论(0)
推荐(0)
cpp: read csv file
摘要:// CSVfilemanagement.h : //练习案例:CSV 文件读写 // // 2023年4月5日 涂聚文 Geovin Du edit. // https://www.digitalocean.com/community/tutorials/getline-in-c-plus-plu
阅读全文
posted @
2023-04-11 19:55
®Geovin Du Dream Park™
阅读(62)
评论(0)
推荐(0)
cpp: Narcissistic in C++11
摘要:// NarcissisticList.h : //练习案例:水仙花数 100 - 1000 NarcissisticList //案例描述:水仙花数是指一个 3 位数,它的每个位上的数字的 3次幂之和等于它本身 //例如:1 ^ 3 + 5 ^ 3 + 3 ^ 3 = 153 //请利用do...
阅读全文
posted @
2023-04-11 00:31
®Geovin Du Dream Park™
阅读(33)
评论(0)
推荐(0)
cpp: 九九乘法表显示
摘要:// CardinalDirection.h : //练习案例:九九乘法表位置 CardinalDirection //案例描述:九九乘法表位置 // //2023年4月5日 涂聚文 Geovin Du edit. // #pragma once #ifndef CARDINALDIRECTION_
阅读全文
posted @
2023-04-11 00:26
®Geovin Du Dream Park™
阅读(49)
评论(0)
推荐(0)
cpp: random
摘要:// RandomlySampled.h : 此文件包含 "RandomlySampled" 类。十个常用排序算法 C++ 11 // 2023年4月9日 涂聚文 Geovin Du edit. #pragma once #ifndef RANDOMLYSAMPLED_H #define RANDO
阅读全文
posted @
2023-04-09 15:33
®Geovin Du Dream Park™
阅读(39)
评论(0)
推荐(0)
cpp: CLion 2022.3.2 and CLion 2023.1 run 运行中文乱码解决方式
摘要:按住 Ctrl+Shift+Alt+/ (不够快捷的快捷键...)选中Registry...(用于CLion 2022.3.2版本) 然后取消run.processes.with.pty 叮噹 The Unicode Standard, Version 15.0 https://unicode.or
阅读全文
posted @
2023-04-05 22:59
®Geovin Du Dream Park™
阅读(276)
评论(0)
推荐(0)
cpp: sort Algorithmic
摘要:vs 2022 C++语言注释插件: Doxygen Comments https://marketplace.visualstudio.com/items?itemName=FinnGegenmantel.doxygenComments // TenSortAlgorithms.h : 此文件包含
阅读全文
posted @
2023-04-05 21:32
®Geovin Du Dream Park™
阅读(27)
评论(0)
推荐(0)
cpp: Sorting a List of Objects with Custom Comparator or Lambda Function using C++11
摘要:PigInfo.h #ifndef PIGINFO_H #define PIGINFO_H #include <iostream> #include<string.h> #include<math.h> using namespace std; /* 实体类 https://learn.micros
阅读全文
posted @
2023-04-04 22:39
®Geovin Du Dream Park™
阅读(21)
评论(0)
推荐(0)
cpp: create class
摘要:PigInfo.h #ifndef PIGINFO_H #define PIGINFO_H #include <iostream> #include<string.h> #include<math.h> using namespace std; /* 实体类 https://learn.micros
阅读全文
posted @
2023-04-04 20:15
®Geovin Du Dream Park™
阅读(22)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告