摘要: GIT安装: 安装引用网址》》》》 GIT图形化管理工具推荐: GIT图形化管理工具推荐 git GUI Source Tree 安装使用 官方教程 Sourcetree连接GitHub仓库 阅读全文
posted @ 2021-04-22 23:55 阳Y 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 前置条件: windows10 专业版,教育版,企业版 安装过程 powershell下管理员权限 # DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V 右键单击 Windows 按钮并选择“应用和功能”。 选择相关设置 阅读全文
posted @ 2021-04-21 13:13 阳Y 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 只读 QList<int> list; list<<1<<2<<3<<4<<5; //QList 的只读迭代器 QListIterator<int> i(list); //hasNext() 下一个节点 for(;i.hasNext();) > qDebug()<<i.next(); 读写 QLis 阅读全文
posted @ 2020-08-27 23:27 阳Y 阅读(1475) 评论(0) 推荐(0) 编辑
摘要: iterator与const_iterator 标准库容器都定义了相应的迭代器类型。迭代器对所有的容器都适用,C++11程序更倾向于使用迭代器而不是下标操作访问容器元素。 1.iterator,const_iterator作用: 遍历容器内的元素,并访问这些元素的值。 iterator可以改元素值, 阅读全文
posted @ 2020-08-27 23:05 阳Y 阅读(296) 评论(0) 推荐(0) 编辑
摘要: #include "mainwindow.h" #include #include #include #include #include #include #include #include #include int main(int argc, char *argv[]) { //连接数据库 QS 阅读全文
posted @ 2020-07-20 23:25 阳Y 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 定义: public: static double xx; cpp中初始化 double 类名:: xx=0.0; 其他类中调用 1.先加头文件 2.类名::xx; 阅读全文
posted @ 2020-06-30 22:39 阳Y 阅读(613) 评论(0) 推荐(0) 编辑
摘要: double 在QDebug 输出时转换成QString类型,默认只有6位有效位,需要自行设置属性 double dou = 12345.5678;//默认输出会丢失精度12345.6 qDebug()<<(QString::number(dou, 10, 5));//"12345.56789" 阅读全文
posted @ 2020-06-29 22:53 阳Y 阅读(3117) 评论(0) 推荐(1) 编辑
摘要: 前提事项: 1.new QTimer()时不能加this 2.子线程中添加 exec();,启动子线程的本地消息循环 //创建子线程 mytimer* timer = new mytimer; timer->start(); qDebug()<<"111"; //核心 m_timer = new Q 阅读全文
posted @ 2020-06-27 23:41 阳Y 阅读(1994) 评论(0) 推荐(0) 编辑
摘要: 飞腾cpu电脑,安装u电脑,安装银河麒麟liunx 系统,wps 官网下载的时候下载 arm 版deb包。 银河麒麟是 dkpg 包的模式 安装方式 apt-get 和 dpkg . 飞腾cpu ft1500 兼容arm 安装命令: sudo dpkg -i wps-office_XXX版本号XXX 阅读全文
posted @ 2020-06-10 19:21 阳Y 阅读(2525) 评论(0) 推荐(0) 编辑
摘要: 百度网盘出现提示网络异常,其他应用和网络都可以用,试试windows 自带的浏览器edge浏览器是否能上网,不能的话打开IE 浏览器 高级 重置网络设置 再打开即可登入百度网盘 阅读全文
posted @ 2020-05-23 00:07 阳Y 阅读(1557) 评论(0) 推荐(0) 编辑