05 2018 档案

摘要:属性 》调试 》命令行参数 阅读全文
posted @ 2018-05-29 21:35 學海無涯 阅读(1179) 评论(0) 推荐(0)
摘要:``` 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... 阅读全文
posted @ 2018-05-28 15:17 學海無涯 阅读(332) 评论(0) 推荐(0)
摘要:``` #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; //格式... 阅读全文
posted @ 2018-05-26 13:32 學海無涯 阅读(534) 评论(0) 推荐(0)
摘要:``` #include #include class Timer { public: Timer() :running_(false), has_run_at_least_once_(false) { } virtual ~Timer() { } virtual void Start() { if (!running()) { start_cpu_ = ... 阅读全文
posted @ 2018-05-25 11:30 學海無涯 阅读(470) 评论(0) 推荐(0)
摘要:三部曲 1 数据表导出 表格 2 另存为 格式文件 3 数据库导入 文件 阅读全文
posted @ 2018-05-24 14:59 學海無涯 阅读(498) 评论(0) 推荐(0)
摘要:``` 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 阅读全文
posted @ 2018-05-22 19:02 學海無涯 阅读(268) 评论(0) 推荐(0)
摘要:注册表结构? |Keys|Abbreviation|Description|描述| | | | | | |HKEY_CLASSES_ROOT|HKCR|Stores file association and COM object registretion|存储文件关联和COM对象注册| |HKEY_ 阅读全文
posted @ 2018-05-07 16:23 學海無涯 阅读(267) 评论(0) 推荐(0)
摘要:``` include include include //从 indexs 集合中选择 num 个元素进行组合并保证返回的组合中没有重复的元素 std::vector combination(const int num,std::vector &indexs) { std::vector set; 阅读全文
posted @ 2018-05-03 17:36 學海無涯 阅读(796) 评论(0) 推荐(0)