上一页 1 2 3 4 5 6 7 ··· 19 下一页
摘要: pro文件 greaterThan(QT_MAJOR_VERSION, 4):QT += core network QT -= gui TARGET = httpget CONFIG += console CONFIG -= app_bundle TEMPLATE = app SOURCES += 阅读全文
posted @ 2021-07-01 17:38 Malphite 阅读(158) 评论(0) 推荐(0) 编辑
摘要: openssl编译参数选项 执行Configure是常见参数选项如下:安装参数:--openssldir=OPENSSLDIR安装目录,默认是 /usr/local/ssl 。--prefix=PREFIX设置 lib include bin 目录的前缀,默认为 OPENSSLDIR 目录。--in 阅读全文
posted @ 2021-06-17 13:21 Malphite 阅读(3082) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/iknow_nothing/article/details/84292914 视频地址:https://www.bilibili.com/video/BV1cz4y1R7cg 简介 Modbus由MODICON公司于1979年开发,是一种工业现场 阅读全文
posted @ 2021-05-25 14:28 Malphite 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 一、建立treeCtrlDlg mfc工程,参照下图添加控件。 二、修改tree Comtorl控件 always show selection、has button、has lines属性为true,添加TVN_SELCHANGED消息处理函数。 treeCtrlDlg.cpp // treeCt 阅读全文
posted @ 2021-03-20 21:53 Malphite 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 1.1 解决问题利用虚基类 1.2 sheepTuo内部结构 1.2.1 vbptr 虚基类指针 1.2.2 指向一张 虚基类表 1.2.3 通过表找到偏移量 1.2.4 找到共有的数据 #define _CRT_SECURE_NO_WARNINGS #include<iostream> using 阅读全文
posted @ 2021-03-01 20:35 Malphite 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.jianshu.com/p/74a3a181dc36 阅读全文
posted @ 2021-02-22 17:16 Malphite 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 1 友元 1.1 全局函数做友元函数 1.1.1 全局函数写到 类中做声明 并且最前面写关键字 friend 1.2 让整个类 做友元类 1.2.1 friend class 类名 1.2.2 友元类 是单向,不可传递的 1.3 让成员函数做友元函数 1.3.1 friend void goodGa 阅读全文
posted @ 2021-02-09 21:07 Malphite 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1 常函数 常对象 1.1 常函数 void func() const {} 常函数 1.2 常函数 修饰是this指针 const Type * const this 1.3 常函数 不能修改this指针执行的值 1.4 常对象 在对象前 加入 const修饰 const Person p1 1. 阅读全文
posted @ 2021-02-09 20:51 Malphite 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 参考:https://bbs.csdn.net/topics/10272331 阅读全文
posted @ 2021-01-29 16:49 Malphite 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 链接: https://pan.baidu.com/s/1FcI4YPFqV3Xpq85nOHoJ_A 提取码: 4p3k 参考:https://github.com/meetanthony/crcjava 阅读全文
posted @ 2020-12-25 09:56 Malphite 阅读(200) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 19 下一页