- 博客(5)
- 问答 (3)
- 收藏
- 关注
原创 使用CPP中的Vector实现(全)排列、组合
使用CPP中的Vector实现(全)排列、组合相比于其它方法,此方法更加浅显易懂相比于其它方法,此方法可能存在内存占用过多的缺点,也就是大量返回对象造成的#include <vector>#include <iostream>/** * 全排列 */std::vector<std::vector<int>> pFun(const std::vector<int>& a){ std::vector<std
2021-02-13 22:36:18
1525
1
原创 valgrind中still reachable的解释
stackoverflow上关于still reachable的回答:https://stackoverflow.com/questions/3840582/still-reachable-leak-detected-by-valgrindThere is more than one way to define “memory leak”. In particular, there are two primary definitions of “memory leak” that are in co
2020-05-23 19:28:44
2063
原创 在windows上搭建基于cmake构建的QtCreator开发环境
1. 下载cmake从官网https://cmake.org/download/上下载cmake。2. 下载qt从官网http://download.qt.io/archive/上下载qt,注意不是qtcreator。安装完成之后,要将安装目录下\Tools\QtCreator\bin添加进PATH环境变量之中,因为安装的jom.exe就在该目录之下。3. 设置qtcreator的Ki...
2019-01-18 09:12:54
1649
1
原创 MySQL创建表时字符串的默认值
使用MySQL创建表时,char或varchar类型的变量可以设置默认值null或Empty String。 操作:创建如下DDL格式的一张表:执行以下insert语句,观察char和varchar类型的默认值:insert into t_table(iddddd) values(11);产生如下表数据:结论:第一,null和Empty String是两种...
2018-09-11 22:17:56
25498
转载 在Eclipse-oxygen中安装Activiti插件
参考(http://www.cnblogs.com/haobingshuaike/p/9355032.html)如何在Eclipse-oxygen中安装Activiti插件: PS:在Eclipse的Install New SoftWare…都失败了~文件链接:https://pan.baidu.com/s/138ChoXao1fALBzdOhJjdQg 密码:06fx1.解压ecl...
2018-08-27 22:33:46
397
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人