05 2018 档案
摘要:``` package main import ( "fmt" "net/http" "log" "html/template" ) func main () { //实例化一个 HTTP app := http.NewServeMux(); app.HandleFunc("/",func(w http.ResponseWriter,r *http.Request){ sw...
阅读全文
摘要:``` #include #include #include #include #include #include static void dbg(const char *fmt, ...) { //获取时间并减去 8 小时时差 struct timespec ts; timespec_get(&ts, TIME_UTC); ts.tv_sec += 28800; //格式...
阅读全文
摘要:``` #include #include class Timer { public: Timer() :running_(false), has_run_at_least_once_(false) { } virtual ~Timer() { } virtual void Start() { if (!running()) { start_cpu_ = ...
阅读全文
摘要:三部曲 1 数据表导出 表格 2 另存为 格式文件 3 数据库导入 文件
阅读全文
摘要:``` cv::Mat longMap(std::vector &set) { int matNumber = set.size(); int width = set[0].cols; int height = set[0].rows; cv::Mat bigMap(height,width mat
阅读全文
摘要:注册表结构? |Keys|Abbreviation|Description|描述| | | | | | |HKEY_CLASSES_ROOT|HKCR|Stores file association and COM object registretion|存储文件关联和COM对象注册| |HKEY_
阅读全文
摘要:``` include include include //从 indexs 集合中选择 num 个元素进行组合并保证返回的组合中没有重复的元素 std::vector combination(const int num,std::vector &indexs) { std::vector set;
阅读全文