上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 24 下一页
摘要: 笔记总结自: http://www.runoob.com/lua/lua-data-types.html 基本数据类型: Lua认为false和nil为假,true和非nil为真。 要注意的是Lua中 0 为 true 注意以下结果输出: nil : 判断 nil 的数据类型要注意: number 阅读全文
posted @ 2018-11-10 16:01 路边的十元钱硬币 阅读(731) 评论(0) 推荐(0)
摘要: 测试结论: 1 函数指针 -- 使用形参固定的一系列函数作为某个函数的形参 -- callback机制 2 模板指针 -- 使用形参可变的一系列函数作为某个函数的形参 -- 3 typename -- 在有 struct 或者 class 的情况下,用于告知编译器,其后的,是一个 type(类型,就 阅读全文
posted @ 2018-10-09 04:09 路边的十元钱硬币 阅读(313) 评论(0) 推荐(0)
摘要: 截取任意四边形区域的图像。 mask就是结果。 需要定义四边形区域,分别是 tl, tr, bl, br 阅读全文
posted @ 2018-09-26 22:04 路边的十元钱硬币 阅读(2019) 评论(0) 推荐(0)
摘要: #include #include #include #include #include // Never include win32 heads before window.h bool printAllProcess(std::map &_mapProcess, bool is_print = true) { PROCESSENTRY32 pe32; pe32.dwSiz... 阅读全文
posted @ 2018-09-25 04:28 路边的十元钱硬币 阅读(386) 评论(0) 推荐(0)
摘要: endswith 阅读全文
posted @ 2018-09-10 13:09 路边的十元钱硬币 阅读(8519) 评论(0) 推荐(0)
摘要: 不加plt的显示,不会有窗口。 阅读全文
posted @ 2018-09-10 11:36 路边的十元钱硬币 阅读(2540) 评论(0) 推荐(0)
摘要: strip() 是为了去除字符串头尾的空格 阅读全文
posted @ 2018-09-10 10:22 路边的十元钱硬币 阅读(152) 评论(0) 推荐(0)
摘要: 结果 阅读全文
posted @ 2018-09-10 10:17 路边的十元钱硬币 阅读(2228) 评论(0) 推荐(0)
摘要: 原文 输出结果 阅读全文
posted @ 2018-09-10 10:04 路边的十元钱硬币 阅读(181) 评论(0) 推荐(0)
摘要: import tensorflow as tf import os categories = ['folder1', 'folder2'] for folderName in categories: #os.makedirs('./%s' % folderName, exist_ok=False); # 当文件已存在,无法创建该文件 os.makedirs('./%s' % ... 阅读全文
posted @ 2018-09-10 10:01 路边的十元钱硬币 阅读(201) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 24 下一页