上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页
摘要: 1 #include <iostream> 2 #include <string> 3 #include <sstream> 4 #include <typeinfo> 5 using namespace std; 6 template <class T> 7 string iToStr(T val 阅读全文
posted @ 2023-05-19 09:43 泽良_小涛 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 自已看代码随手画的 阅读全文
posted @ 2023-05-18 14:31 泽良_小涛 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #include <sstream> 5 using namespace std; 6 7 template<class T> 8 string ConvertToStri 阅读全文
posted @ 2023-05-18 11:05 泽良_小涛 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 using namespace std; 3 4 class FrameApi { 5 public: 6 virtual void draw() = 0; 7 protected: 8 FrameApi() {}; 9 }; 10 11 class 阅读全文
posted @ 2023-05-16 17:27 泽良_小涛 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <string> using namespace std; class ExportFileApi { public: virtual bool exportData(string data) = 0; protected: ExportFi 阅读全文
posted @ 2023-05-09 09:18 泽良_小涛 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 一、线程安全性的讲解 1、视频截图 2、线程安全性的代码 加不加临界区进行验证 #include <afxwin.h> #include <iostream> #include <stdio.h> using namespace std; CRITICAL_SECTION g_cs; class S 阅读全文
posted @ 2023-04-28 09:54 泽良_小涛 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 一、第一种方法 //实现了客户端调用和implOne,implTwo的解耦合//factory类实现了变化隔离 1 #include<string> 2 #include "DynOBJ.h" 3 using namespace std; 4 5 class Api { 6 public: 7 vi 阅读全文
posted @ 2023-04-26 18:33 泽良_小涛 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 链接:https://blog.csdn.net/qq_15457239/article/details/98234023 分析的代码和4.0有些不对应,较清楚的说明了flv播放的过程。 自己读代码过程中的记录: 阅读全文
posted @ 2023-04-24 14:23 泽良_小涛 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 构造函数私有化或保护化摘自: https://blog.csdn.net/caoyangxiaoyao/article/details/81184786构造函数私有化/保护化可以将构造函数设置为私有函数,但是这样做就无法从外部直接调用构造函数,因此就无法直接构造这个类的对象。1.如果你不想让外面的用 阅读全文
posted @ 2023-04-24 11:24 泽良_小涛 阅读(81) 评论(0) 推荐(0) 编辑
摘要: SRS流媒体服务器之HTTP-FLV框架分析 链接:https://www.isolves.com/it/cxkf/kj/2021-03-25/37488.html 介绍的代码和现版本代码有出处,但对流程序的理解有相当的价值。简要笔记如下。 整体的框架: RTMP推流端 》SRS流媒体服务器(建立S 阅读全文
posted @ 2023-04-23 16:03 泽良_小涛 阅读(208) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页