<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[m0_53506460的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/m0_53506460</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; m0_53506460]]></copyright><item><title><![CDATA[qt学习1]]></title><link>https://blog.csdn.net/m0_53506460/article/details/150529218</link><guid>https://blog.csdn.net/m0_53506460/article/details/150529218</guid><author>m0_53506460</author><pubDate>Tue, 19 Aug 2025 16:37:52 +0800</pubDate><description><![CDATA[【代码】qt学习1。]]></description><category></category></item><item><title><![CDATA[C++智能指针解析]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149636063</link><guid>https://blog.csdn.net/m0_53506460/article/details/149636063</guid><author>m0_53506460</author><pubDate>Fri, 25 Jul 2025 17:57:33 +0800</pubDate><description><![CDATA[因为堆区的内存一定要手工释放，否则会发生内存泄漏。]]></description><category></category></item><item><title><![CDATA[现代C++的一般编程规范]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149614695</link><guid>https://blog.csdn.net/m0_53506460/article/details/149614695</guid><author>m0_53506460</author><pubDate>Thu, 24 Jul 2025 23:44:48 +0800</pubDate><description><![CDATA[捕获变量] (参数列表) 可选限定符->返回类型{//函数代码int main()int x=7;下面我们直接将lambda表达式作为实际参数传入int main()});float y;}p{x,y};在这里，我们虽然改变了y的值，但是这两个函数的输出是一模一样的int main()int x=7;y+=1.5;]]></description><category></category></item><item><title><![CDATA[常用的排序算法]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149540802</link><guid>https://blog.csdn.net/m0_53506460/article/details/149540802</guid><author>m0_53506460</author><pubDate>Tue, 22 Jul 2025 18:10:51 +0800</pubDate><description><![CDATA[功能描述：对容器内元素进行排序函数原型。]]></description><category></category></item><item><title><![CDATA[STL常用算法]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149535115</link><guid>https://blog.csdn.net/m0_53506460/article/details/149535115</guid><author>m0_53506460</author><pubDate>Tue, 22 Jul 2025 16:39:37 +0800</pubDate><description><![CDATA[功能描述：查找指定的元素，找到返回元素的迭代器，找不到返回结束迭代器end()总结：二分查找法查找效率很高，值得注意的是查找的容器必须是有序序列。功能描述：搬运容器到另一个容器中。//beg2 目标容器开始迭代器。//_func函数或者函数对象。//beg1 源容器开始迭代器。//end1 源容器结束迭代器。//_func函数或者函数对象。功能描述：查找指定元素是否存在。//遍历算法 遍历容器元素。功能描述：查找相邻重复元素。功能描述：按条件查找元素。//beg开始迭代器。//end结束迭代器。]]></description><category></category></item><item><title><![CDATA[STL内建函数对象]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149534039</link><guid>https://blog.csdn.net/m0_53506460/article/details/149534039</guid><author>m0_53506460</author><pubDate>Tue, 22 Jul 2025 14:00:36 +0800</pubDate><description><![CDATA[这个在实际开发中基本上用不到，因此可以选择性的忽略。功能描述：实现关系对比。]]></description><category></category></item><item><title><![CDATA[STL------函数对象]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149533025</link><guid>https://blog.csdn.net/m0_53506460/article/details/149533025</guid><author>m0_53506460</author><pubDate>Tue, 22 Jul 2025 12:54:40 +0800</pubDate><description><![CDATA[仿函数写法非常灵活，没有一个固定的写法。本质：函数对象是一个类，不是一个函数。]]></description><category></category></item><item><title><![CDATA[map/multimap容器]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149518062</link><guid>https://blog.csdn.net/m0_53506460/article/details/149518062</guid><author>m0_53506460</author><pubDate>Tue, 22 Jul 2025 12:22:05 +0800</pubDate><description><![CDATA[map值与multimap值的。]]></description><category></category></item><item><title><![CDATA[Set/MultiSet容器]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149513786</link><guid>https://blog.csdn.net/m0_53506460/article/details/149513786</guid><author>m0_53506460</author><pubDate>Mon, 21 Jul 2025 22:45:19 +0800</pubDate><description><![CDATA[简介：所有元素都会在插入时自动被排序本质：set/multiset属于关联式容器，底层结构是二叉树实现。]]></description><category></category></item><item><title><![CDATA[list容器]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149508237</link><guid>https://blog.csdn.net/m0_53506460/article/details/149508237</guid><author>m0_53506460</author><pubDate>Mon, 21 Jul 2025 19:44:18 +0800</pubDate><description><![CDATA[功能：将数据进行链式存储链表：list是一种物理存储单元上非连续的存储结构，数据元素的逻辑顺醋是通过链表中的指针链接实现的链表的组成：链表由一系列节点组成一个是存储元素的数据域，一个是存储下一个节点位置的指针域STL中的链表是一个双向循环链表缺点就是：容器的遍历速度没有数组快，占用的空间会比数组要大由于链表的存储方式并不是连续的内存空间，因此链表list中的迭代器只支持前移和后移，属于list有一个重要的性质，插入操作和删除操作都不会造成原有的list迭代器的实效，这在vector是不成立的。]]></description><category></category></item><item><title><![CDATA[quene容器]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149506764</link><guid>https://blog.csdn.net/m0_53506460/article/details/149506764</guid><author>m0_53506460</author><pubDate>Mon, 21 Jul 2025 16:14:52 +0800</pubDate><description><![CDATA[概念：Quene是一种先进先出（First In First Out，FIFO）的数据结构，它有两个出口。队列中只有队头和队尾才可以被外界使用，因此队列不允许有遍历行为。队列容器中允许从一端新增元素，从另一端移除元素。队列中进数据称为---入队 push。队列中出数据称为--出队 pop。判断队列是否为空 empty。返回队列大小 size。]]></description><category></category></item><item><title><![CDATA[stack容器]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149506008</link><guid>https://blog.csdn.net/m0_53506460/article/details/149506008</guid><author>m0_53506460</author><pubDate>Mon, 21 Jul 2025 15:33:12 +0800</pubDate><description><![CDATA[stack是一种先进后出（First In Last Out）的数据结构，它只有一个出口栈中只有顶端的元素才能被外界使用，因此栈不允许有遍历行为栈可以判断容器是否为空吗？可以empty栈可以返回其元素个数吗？可以 size，因为在入栈的时候我们可以对其进行计数。]]></description><category></category></item><item><title><![CDATA[C++中的deque容器]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149490852</link><guid>https://blog.csdn.net/m0_53506460/article/details/149490852</guid><author>m0_53506460</author><pubDate>Mon, 21 Jul 2025 15:09:12 +0800</pubDate><description><![CDATA[功能：双端数组，可以对头端进行插入和删除操作。]]></description><category></category></item><item><title><![CDATA[C++运算符重载]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149487131</link><guid>https://blog.csdn.net/m0_53506460/article/details/149487131</guid><author>m0_53506460</author><pubDate>Sun, 20 Jul 2025 20:33:47 +0800</pubDate><description><![CDATA[因此这里的基本运算符是不能直接作用在自定义类型上面的。因此我们的运算符重载是为了实现基本运算符运用在自定义的类上面，直接操作自定义类型，我们这里不能操作是因为我们这里没有写运算符重载。]]></description><category></category></item><item><title><![CDATA[类模版的相关案例]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149331378</link><guid>https://blog.csdn.net/m0_53506460/article/details/149331378</guid><author>m0_53506460</author><pubDate>Wed, 16 Jul 2025 23:07:07 +0800</pubDate><description><![CDATA[也就是说我们这几个进行了深拷贝，还有有参构造，之后通过析构函数释放了它们的内存。因为我们并不知道里面有什么数据类型，因此我们需要将这些。首先我们在MyArray.hpp文件里面写入以下的代码。在数组类封装.cpp这个文件里面写入下面的代码。之后运行，我们可以得到以下的内容。数组类封装函数那里写。]]></description><category></category></item><item><title><![CDATA[C++类模版与友元]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149330318</link><guid>https://blog.csdn.net/m0_53506460/article/details/149330318</guid><author>m0_53506460</author><pubDate>Mon, 14 Jul 2025 15:06:35 +0800</pubDate><description><![CDATA[全局函数类外实现-需要提前让编译器知道全局函数的存在你看，其实一开始m_Name和m_Age是一个私有的属性，因为其前面有private关键字，因此前面加上friend，也就是友元的全局函数才能访问这个私有属性。]]></description><category></category></item><item><title><![CDATA[C++高级编程，类模版成员函数类外实现]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149318221</link><guid>https://blog.csdn.net/m0_53506460/article/details/149318221</guid><author>m0_53506460</author><pubDate>Sun, 13 Jul 2025 23:49:38 +0800</pubDate><description><![CDATA[问题：类模版中成员函数创建时机是在调用阶段，导致分文件编写时链接不到。]]></description><category></category></item><item><title><![CDATA[C++模版编程：类模版与继承]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149299817</link><guid>https://blog.csdn.net/m0_53506460/article/details/149299817</guid><author>m0_53506460</author><pubDate>Sun, 13 Jul 2025 22:48:29 +0800</pubDate><description><![CDATA[因为父类中的一些东西需要继承到子类中，父类中有的成员，子类中也必须有，但是子类也不是一个模版，因此一个子类对象到底占据多少个内存空间，怎么算？算不出来，是因为我确定不出来这个继承的这个东西到底占据了多大的空间，因此发生了继承的时候，我必须指明父类中的T 究竟是什么样的数据类型，才能继承该子类。这里的T1是obj的数据类型，他现在是一个整型int，这个T2给了父类，因此这个T2是m的数据类型，其中这个数据类型是char类型。总结：父类是一个类模版，子类在继承的时候需要指定出父类中T的数据类型。]]></description><category></category></item><item><title><![CDATA[C++类模版2]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149299267</link><guid>https://blog.csdn.net/m0_53506460/article/details/149299267</guid><author>m0_53506460</author><pubDate>Sat, 12 Jul 2025 20:45:06 +0800</pubDate><description><![CDATA[1.一共三种传入的类型  --直接显示对象的数据类型2.参数模版化                --将对象中的参数编程模版进行传递3.整个类模版化             --将这个对象类型 模版化进行传递因此最终其输出为这个。]]></description><category></category></item><item><title><![CDATA[C++类模版1]]></title><link>https://blog.csdn.net/m0_53506460/article/details/149298503</link><guid>https://blog.csdn.net/m0_53506460/article/details/149298503</guid><author>m0_53506460</author><pubDate>Sat, 12 Jul 2025 20:02:17 +0800</pubDate><description><![CDATA[类模版与函数模版语法相似，在声明模版template后面加类，此类称为类模版。]]></description><category></category></item></channel></rss>