长风破浪会有时,直挂云帆济沧海

Dream Word

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页

2018年3月23日 #

摘要: 1:准备好OpenCV 源码包 下载地址:https://opencv.org/releases.html 编译教程:https://blog.csdn.net/computerme/article/details/53433315 2:准备好cmake安装包; 下载地址:https://cmake 阅读全文
posted @ 2018-03-23 21:19 长风II 阅读(1742) 评论(0) 推荐(0) 编辑

2018年3月22日 #

摘要: new delete 为表达式。这个过程不能重载,但是分解的步骤可以重载。 String* ps = newe String("Hello") 分解为: String* ps; void* mem = operator new(sizeof(String)); ps = static_cast<St 阅读全文
posted @ 2018-03-22 23:22 长风II 阅读(189) 评论(0) 推荐(0) 编辑

2018年3月18日 #

摘要: pthead_mutex_t mutex; 1:create: pthread_mutex_init(pthread_mutex_t* mutex, const pthread_mutexattr_t* attr); 2:destroy: pthread_mutex_destory(pthread_ 阅读全文
posted @ 2018-03-18 20:46 长风II 阅读(212) 评论(0) 推荐(0) 编辑

2018年3月16日 #

摘要: (1):Edit 保存退出 ZZ 快速格式化 gg=G 光标移动(左下上右)HJKL 到行首:0,到行为 $ 到文件头;gg 到文件尾部 G 到第200行:200G 行号回车:当前行向下移动 (2):Delete 删除光标后:x 删除光标前:X 撤销:u 删除单词:dw(delete world)光 阅读全文
posted @ 2018-03-16 23:26 长风II 阅读(150) 评论(0) 推荐(0) 编辑

2018年3月10日 #

摘要: Search:O(n) Del,Add:O(1) 阅读全文
posted @ 2018-03-10 23:00 长风II 阅读(108) 评论(0) 推荐(0) 编辑

摘要: 1:Reverse Words in String 2: Rotate String 3:Remove Element 阅读全文
posted @ 2018-03-10 17:00 长风II 阅读(83) 评论(0) 推荐(0) 编辑

2018年3月8日 #

摘要: 1:Determine if all characters of a string are unique bool isUnique(string input) { bitset<256> hashMap; for(int i = 0; i < input.length(); i++) { if(h 阅读全文
posted @ 2018-03-08 22:47 长风II 阅读(141) 评论(0) 推荐(0) 编辑

2018年3月7日 #

摘要: 【String】 1:Brust-Force char* Strstr(const char *str, const char *target){...} 2:Rabin-Karp 【Array】 int array[M][N]; void func(int arr[M][N]}{ // int * 阅读全文
posted @ 2018-03-07 22:58 长风II 阅读(116) 评论(0) 推荐(0) 编辑

2018年3月4日 #

摘要: 最近发现自己在开发程序的过程中,经常会将好几种命名规范进行混用,这样使得程序的可读性下降,于是乎依然决定学习并使用Google的命令规范,并且坚持使用。 copy from https://www.cnblogs.com/chensheng-zhou/p/5127415.html 6:命令规则 命令 阅读全文
posted @ 2018-03-04 15:45 长风II 阅读(411) 评论(0) 推荐(0) 编辑

2018年2月9日 #

摘要: 目前在Qt5中做Opengl的学习时候,发现gluPerspective函数没有定义。 阅读全文
posted @ 2018-02-09 21:17 长风II 阅读(318) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页