算数独

闲暇的时候写的小程序,从map输入数独的题目后自动计算。 #include "stdafx.h" #include <vector> #include <map> #include <iostream> #include <assert.h> // 获取行index std::vector<int> askRow(int index) { std::vector<int> rownum; auto rowindex = index / 10; for (int i = 0; i < 9; i++) { rownum.push_back(rowindex

前端矩阵 (matrix) 封装

使用 canvas 画布来操控图形或者图片的二维变化的方式一般是平移、缩放、和旋转。canvas 已相应提供了相关的 api。如:translate(), scale() 和

boost b2 参数说明

命令参数 b2 命令的功能强大,用起来也比较复杂,因此在使用之前,最好先查看一下该命令的帮助: b2.exe --help stage/install stage 表示只生成库(dll 和 lib),instal