cmake-3.19.1-win64-x64.msi 2020年12月1日 最新版
编译工具,可以用来编译源码来对应所硬的平台,如:Windows VS2017版,帮你生成工程文件。
一般用来编译OpenCV、OGRE、OpenSceneGraph等开源项目
上位机与下位机通讯协议
自定义的通讯协议。。
void OpticalDetectMotorCollectData(SSystemMotorParamterConfig &sSystemMotorParameterConfig, quint8 quDestUnit);
//光学检测系统打开蓝光
void OpticalDetectMotorOpenBlueLight(quint8 quDestUnit);
//光学检测系统关闭蓝光
void OpticalDetectMotorCloseBlueLight(quint8 quDestUnit);
//光学检测系统获取试剂卡插入状
cmake-3.15.4-win64-x64.msi 最新版本2020年11月4日
编译工具,可以用来编译源码来对应所硬的平台,如:Windows VS2017版,帮你生成工程文件。
一般用来编译OpenCV、OGRE、OpenSceneGraph等开源项目
cmake-3.15.4-win64-x64.msi 最新版本2019年10月14日
编译工具,可以用来编译源码来对应所硬的平台,如:Windows VS2017版,帮你生成工程文件。
一般用来编译OpenCV、OGRE、OpenSceneGraph等开源项目
CodeBlocks教程
CodeBlocks学习教程及相关资源。
wxSmith can be used inside any wxWidgets project. However, we currently have only one option to easily create a wxWidgets app.
浙江大学ACM模板库
/**
* WishingBone's ACM/ICPC Routine Library
*
* maximum clique solver
*/
#include <vector>
using std::vector;
// clique solver calculates both size and consitution of maximum clique
// uses bit operation to accelerate searching
// graph size limit is 63, the graph should be undirected
// can optimize to calculate on each component, and sort on vertex degrees
// can be used to solve maximum independent set
class clique {
public:
static const long long ONE = 1;
static const long long MASK = (1 << 21) - 1;
char* bits;
int n, size, cmax[63];
long long mask[63], cons;
// initiate lookup table
clique() {
bits = new char[1 << 21];
bits[0] = 0;
for (int i = 1; i < 1 << 21; ++i) bits[i] = bits[i >> 1] + (i & 1);
}
~clique() {
delete bits;
}
// search routine
bool search(int step, int size, long long more, long long con);
// solve maximum clique and return size
int sizeClique(vector<vector<int> >& mat);
// solve maximum clique and return constitution
vector<int> consClique(vector<vector<int> >& mat);
};
// search routine
// step is node id, size is current solution, more is available mask, cons is
constitution mask
bool clique::search(int step, int size, long long more, long long cons) {
if (step >= n) {
// a new solution reached
this->size = size;
this->cons = cons;
return true;
}
long long now = ONE << step;
if ((now & more) > 0) {
long long next = more & mask[step];
if (size + bits[next & MASK] + bits[(next >> 21) & MASK] + bits[next >>
42] >= this->size
&& size + cmax[step] > this->size) {
// the current node is in the clique
if (search(step + 1, size + 1, next, cons | now)) return true;
}
}
long long next = more & ~now;
if (size + bits[next & MASK] + bits[(next >> 21) & MASK] + bits[next >> 42]
> this->size) {
// the current node is not in the clique
if (search(step + 1, size, next, cons)) return true;
}
return false;
}
// solve maximum clique and return size
int clique::sizeClique(vector<vector<int> >& mat) {
n = mat.size();
// generate mask vectors
for (int i = 0; i < n; ++i) {
mask[i] = 0;
for (int j = 0; j < n; ++j) if (mat[i][j] > 0) mask[i] |= ONE << j;
}
size = 0;
for (int i = n - 1; i >= 0; --i) {
search(i + 1, 1, mask[i], ONE << i);
cmax[i] = size;
}
return size;
}
// solve maximum clique and return constitution
// calls sizeClique and restore cons
vector<int> clique::consClique(vector<vector<int> >& mat) {
sizeClique(mat);
vector<int> ret;
for (int i = 0; i < n; ++i) if ((cons & (ONE << i)) > 0) ret.push_back(i);
return ret;
}
算法导论包括中文习题答案及相关资料
算法导论中文习题答案及相关资料。里面有算法导论PDF以及习题解答和相关资源
ETC收费交易流程规范
储值卡和记账卡的交易均可采用复合消费交易来实现,双向认证隐含在交易流程中实现,可省去额
外的双向认证过程。
储值卡在封闭式入口的交易中做消费金额为零的复合消费交易,并记录入口信息,在封闭式出口完
成实际金额的复合消费交易。
记账卡在封闭式入口和出口都作消费金额为零的复合消费交易,并记录相关信息。
Qt图片查看器
Qt实现照片查看功能,C++语言实现,非常适合初学者学习。多看开源代码提高自己的编程能力
LibreCAD开源Qt实现
Qt开源实现CAD,整个软机架构合理,非常适合初学者学习
Qt多界面动画切换实现
Qt多界面切换实现,基于Qt5.9.1 LTS实现,界面是六方格形式
Qt嵌入式虚拟键盘
Qt虚拟键盘实现,很不错。qt虚拟键盘以插件的形式给出,源代码目录在qtvirtualkeyboard,工程为qtvirtualkeyboard.pro
首先进入到qtvirtualkeyboard目录,使用如下qmake命令生成Makefile文件
Qt模拟360界面
Qt纯C++代码实现,对于初学者很有意义。另外软件系统结构也很不错
数据结构与算法
《数据结构与算法》以基本数据结构和算法设计策略为知识单元,系统地介绍了数据结构的知识与应用、计算机算法的设计与分析方法,主要内容包括线性表、树、图和广义表、算法设计策略以及查找与排序算法等。很好的,实用性强