上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: 在ubuntu系统下安装好qt5.5后启动qtceator时提示: Qt5.5.1/Tools/QtCreator/lib/qtcreator/plugins/libHelp.so: 无法加载库Qt5.5.1/Tools/QtCreator/lib/qtcreator/plugins/libHelp 阅读全文
posted @ 2019-11-25 18:06 刘大侠GG_B 阅读(1214) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> 2 #include<string> 3 using namespace std; 4 class parent{ 5 protected: 6 int m_a; 7 int m_b; 8 public: 9 int m_c; 10 void set(int a 阅读全文
posted @ 2019-11-23 21:38 刘大侠GG_B 阅读(122) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> 2 #include<string> 3 using namespace std; 4 class parent{ 5 protected: 6 int m_a; 7 int m_b; 8 public: 9 int m_c; 10 void set(int a 阅读全文
posted @ 2019-11-23 20:28 刘大侠GG_B 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 1 include<iostream> 2 #include<string> 3 using namespace std; 4 class parent{ 5 protected: 6 int mv; 7 public: 8 parent(){ 9 mv = 100; 10 } 11 int val 阅读全文
posted @ 2019-11-23 10:03 刘大侠GG_B 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 1、按键驱动程序的第一个版本:day07/04 //内核模块的基本要求 init.h module.h LICENSE struct cdev btn_cdev; btn_read(...) { //阻塞 等待队列 睡眠 //非阻塞 将数据拷贝到用户空间 } struct file_operatio 阅读全文
posted @ 2019-11-20 17:49 刘大侠GG_B 阅读(384) 评论(0) 推荐(0) 编辑
摘要: C++中存在将类对象转换成其他类型 语法: operator type(){} //无参数无返回值,type类型就是类对象将要转换成的类型 1 #include<iostream> 2 #include<string> 3 using namespace std; 4 class test{ 5 i 阅读全文
posted @ 2019-11-19 23:09 刘大侠GG_B 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 标准数据类型之间会进行 隐式类型的安全转换 转换规则如下: char→int→unsigned int →long→unsigned long→float→double ↓ short→int 1 #include<iostream> 2 #include<string> 3 using names 阅读全文
posted @ 2019-11-19 21:06 刘大侠GG_B 阅读(772) 评论(0) 推荐(0) 编辑
摘要: 1、内存管理 (将物理内存映射到内核空间(3G~4G)并使用) 深入内核: 伙伴系统 1.1基本概念 1)linux内核管理内存是以物理内存页为单位 一个物理内存页通常为4KB 内核会为每个物理内存页创建如下结构变量 struct page { //记录该物理内存页被引用的次数 为0 代表空闲页 a 阅读全文
posted @ 2019-11-19 20:44 刘大侠GG_B 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: (1)保护二极管 引脚内部加上这两个保护二级管可以防止引脚外部过高或过低的电压输入, 当引脚电压高于 VDD_FT 或 VDD 时,上方的二极管导通吸收这个高电压,当引脚 电压低于 VSS 时,下方的二极管导通,防止不正常电压引入芯片导致芯片烧毁。 尽管 STM32 芯片内部有这样的保护,但并不意味 阅读全文
posted @ 2019-11-19 20:24 刘大侠GG_B 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: 1#include<iostream> 2 using namespace std; 3 class test{ 4 int mvalue; 5 public: 6 test(int i){ 7 cout << "test(int i)=" << i << endl; 8 mvalue = i; 9 阅读全文
posted @ 2019-11-18 23:24 刘大侠GG_B 阅读(113) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页