上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: ​ Henning, Michi. "API design matters." Communications of the ACM 52.5 (2009): 46-56. https://dl.acm.org/doi/fullHtml/10.1145/1506... 阅读全文
posted @ 2022-08-21 10:12 Oliver2022 阅读(47) 评论(0) 推荐(0)
摘要: 1、基本原则 C++98的三法则: 如果需要析构函数,则一定需要拷贝构造函数和拷贝赋值操作符。一般是因为存在指针, 通过自定义的拷贝构造函数和赋值运算符防治浅拷贝问题,获取管理了系统的资源,需要及时释放掉。 复制(拷贝)构造函数 拷贝赋值操作符 析构函数... 阅读全文
posted @ 2022-08-21 10:12 Oliver2022 阅读(128) 评论(0) 推荐(0)
摘要: MerriamWebster 大名鼎鼎的韦氏大辞典,需要注册ID,每天免费1000次的调用,官方介绍如下 Merriam-Webster Dictionary APIhttps://dictionaryapi.com/采用c#调用的方式如下 static vo... 阅读全文
posted @ 2022-08-21 10:12 Oliver2022 阅读(96) 评论(0) 推荐(0)
摘要: 先上效果,可以翻译句子和单词,可以中译英和英译中。文末有下载链接。 主要代码如下,其中需要在百度翻译api申请的id和秘钥,标准版完全免费 百度翻译开放平台 (baidu.com)https://api.fanyi.baidu.com/ using... 阅读全文
posted @ 2022-08-21 10:12 Oliver2022 阅读(142) 评论(0) 推荐(0)
摘要: 目录 1遵循 c + + 相关的编码标准和习惯用法以防止缺陷。 1.1 CodeWizard 1.2 代码检查工具 PC-Lint 2. 使用语言机制、开发环境和相关工具来防止和发现内存缺陷 2.1使用断言尽早暴露内存缺陷 2.2使用 c 运行时库检查内存泄... 阅读全文
posted @ 2022-08-21 10:12 Oliver2022 阅读(156) 评论(0) 推荐(0)
摘要: 目录 1 Eigen 2 Blaze 3 Armadillo 4 Blitz 5 IT++ 6 Dlib 7 Ublas 8 Xtensor 9 MKL 1 Eigen Eigen is versatile. It supports all matrix ... 阅读全文
posted @ 2022-08-21 10:12 Oliver2022 阅读(191) 评论(0) 推荐(0)
摘要: 1 图像分割定义和方法分类 图像分割就是指把图像分成各具特性的区域并提取出感兴趣目标的技术和过程。这里特性可以是灰度、颜色、纹理等,目标可以对应单个区域,也可以对应多个区域。图像分割多年来一直得到人们的高度重视,至今已提出了上千种各种类型的分割算法,而且近年来... 阅读全文
posted @ 2022-08-21 10:12 Oliver2022 阅读(373) 评论(0) 推荐(0)
摘要: 通过递归的方式获取文件夹内指定后缀类型所有文件的行数,用于统计代码行数 import osdef getFileNames(path, list_name, postfx): for file in os.listdir(path): fi... 阅读全文
posted @ 2022-08-21 10:12 Oliver2022 阅读(37) 评论(0) 推荐(0)
摘要: 小小的二维矩阵,用到了模板、智能指针,列表等 #include #include #include using namespace std;templateclass Array2D {public: Array2D() {}; Array2D(... 阅读全文
posted @ 2022-08-21 10:12 Oliver2022 阅读(65) 评论(0) 推荐(0)
摘要: 很多几何对象的相交判断都可以转化为三角形与直线的相交判断 #include #include #include #include class vec3 {public: float x, y, z; float dot(const vec3& b... 阅读全文
posted @ 2022-08-21 10:12 Oliver2022 阅读(74) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页