摘要: 转载 VS初始化,恢复到刚安装完成的状态 第一个方法:(已测试成功) 输入DOS命令: CD Common7/IDE 回车 输入:devenv.exe /setup /resetuserdata /resetsettings,重置Visual Studio 即可 执行工作之后,重新打开VS会出现安装 阅读全文
posted @ 2020-12-31 12:17 iwetuan 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 由于QVector没有自定义删除器的功能,直接调用析构函数会导致内存泄漏 故使用指针方式,递归删除节点 我们的类还禁止在栈中定义变量,并且将析构函数设置为私有,禁止使用new的操作 所以申请对象使用entity::New,使用obj.Delete递归释放子节点内存 #include <QCoreAp 阅读全文
posted @ 2020-12-30 11:30 iwetuan 阅读(339) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication6.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <iostream> #include <string> #include <deque> #include <vector> #include <arra 阅读全文
posted @ 2020-12-11 12:43 iwetuan 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 临时使用socks代理apt-get的方法 sudo apt-get -o Acquirehttpproxy="socks5h://127.0.0.1:1089/" upgrade -y sudo apt-get -o Acquirehttpproxy="socks5h://127.0.0.1:10 阅读全文
posted @ 2020-08-26 21:03 iwetuan 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 1、先查看是否有中文语言环境 locale -a 结果会显示你的电脑已经安装的语言环境: en_US.ISO-8859-1 zh_CN.GBK 2、安装语言环境(root权限): dpkg-reconfigure locales 3、安装中文字体 apt-get install ttf-wqy-ze 阅读全文
posted @ 2020-08-12 11:43 iwetuan 阅读(10938) 评论(0) 推荐(0) 编辑
摘要: C语言中数组名可以在传引用时自动转换为指针 例如 int l[2][3] void myPrint(int** ary){ //可以转换为 int(*)[3]类型进行行列 //也可以直接 int** 操作 } myPrint(l) 如何高效率的引用在myPrint中的ary呢 从一个例子入手 #in 阅读全文
posted @ 2020-08-11 11:11 iwetuan 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 快速排序算法原理: b站 "https://b23.tv/uJqRYN" 阅读全文
posted @ 2020-05-19 12:42 iwetuan 阅读(925) 评论(0) 推荐(0) 编辑
摘要: ```go package main import "log" type node struct { Item string Left *node Right *node } type bst struct { root *node } /* m k l h i j a b c d e f //先序遍历(根左右):m k h a b i c d l j e f //中序遍历(左根右):a h b 阅读全文
posted @ 2020-05-16 23:26 iwetuan 阅读(1413) 评论(0) 推荐(0) 编辑
摘要: "【光盘资料】EasyARM i.MX280A_283A_287A V1.04(EasyARM i.MX280A_283A_287A_cd).zip" 提取码: y6pnW6sY 阅读全文
posted @ 2020-05-09 10:36 iwetuan 阅读(408) 评论(0) 推荐(0) 编辑
摘要: "gcc 4.4.4 glibc 2.11.1 multilib 1.0_EasyARM iMX283.tar.bz2" 提取码: UgUtMUNX 阅读全文
posted @ 2020-05-09 10:35 iwetuan 阅读(263) 评论(0) 推荐(0) 编辑