上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 39 下一页
摘要: 引入头文件 #include <tchar.h> 阅读全文
posted @ 2021-03-29 09:09 HappyCoder_1 阅读(613) 评论(0) 推荐(0)
摘要: A.h的文件定义一个类A B.h的文件定义一个类B A.h头文件 引用B的头文件 include“B.h” class A{ B* b; }; B.h头文件 声明类A class A; class B{ A* a; } B.cpp 文件引用A的头文件 include“A.h” 阅读全文
posted @ 2021-03-25 20:17 HappyCoder_1 阅读(61) 评论(0) 推荐(0)
摘要: 问题: 调用DeletePeerConnection的时候,执行peer_connection_ = nullptr;会产生崩溃。 解决办法: 在add stream的时候我写成了同步调用,这个同步调用在启动的时候不会产生问题 case WM_WEBRTC_ADD_STREAM: { webrtc: 阅读全文
posted @ 2021-03-25 16:26 HappyCoder_1 阅读(265) 评论(0) 推荐(0)
摘要: 我的VS2015工程使用的是unicode编码,插入中文显示一堆问号,解决办法: unicode编码转成UTF8 static std::wstring UniAsciiToUnicode(const std::string& str) { // 预算-缓冲区中宽字节的长度 int unicodeL 阅读全文
posted @ 2021-03-25 14:48 HappyCoder_1 阅读(279) 评论(0) 推荐(0)
摘要: 进入cmd 输入 sqlite3 打开数据库 .open test.db 退出 .quit 附加数据库 ATTACH DATABASE 'test1.db' as '1'; 显示附加数据库 .database 分离数据库 DETACH DATABASE '1'; 创建表 CREATE TABLE 删 阅读全文
posted @ 2021-03-25 10:38 HappyCoder_1 阅读(79) 评论(0) 推荐(0)
摘要: 1、sqllite下载地址 sqllite:http://www.sqlite.org/download.html 2、解压会产生 SQLite3.def和SQlite3.dll 分别放到E:\sqllite目录下 3、cmd命令行执行命令:C:\Users\Administrator> "C:\P 阅读全文
posted @ 2021-03-22 18:11 HappyCoder_1 阅读(165) 评论(0) 推荐(0)
摘要: <Text parent="Label" notifies="setfocus killfocus timer menu link windowinit(root)"> <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗 阅读全文
posted @ 2021-03-22 14:01 HappyCoder_1 阅读(76) 评论(0) 推荐(0)
摘要: <Label parent="Control" notifies="setfocus killfocus timer menu windowinit(root)"> <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内 阅读全文
posted @ 2021-03-22 13:38 HappyCoder_1 阅读(330) 评论(0) 推荐(0)
摘要: 1、C++11 h毫秒级转换 #include <iostream> #include <chrono> #include <cstdio> static time_t getTimeStamp() { std::chrono::time_point<std::chrono::system_cloc 阅读全文
posted @ 2021-03-20 16:58 HappyCoder_1 阅读(8142) 评论(0) 推荐(0)
摘要: 解决办法: 1、该函数写了两份 2、该函数所在的头文件没有添加 #param once 或者define 宏 导致其他文件多次引用该文件 出现相同的函数 阅读全文
posted @ 2021-03-08 16:52 HappyCoder_1 阅读(1252) 评论(0) 推荐(1)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 39 下一页