随笔分类 -  c++

特征提取两个错误原因
摘要: 阅读全文

posted @ 2016-06-23 16:30 一动不动的葱头 阅读(405) 评论(0) 推荐(0)

ld链接问题解决
摘要:http://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s 终端打上: sudo ldconfig 阅读全文

posted @ 2016-06-23 13:56 一动不动的葱头 阅读(207) 评论(0) 推荐(0)

matio使用
摘要:http://na-wiki.csc.kth.se/mediawiki/index.php/MatIO (1)build根据教程 (2)sudo ldconfig (3)写main根据链接;修改几个类型错误 (4)在caffe的makefile中加上 LIBRARIES += glog gflags 阅读全文

posted @ 2016-06-23 09:55 一动不动的葱头 阅读(960) 评论(0) 推荐(0)

opencv3.1包安装
摘要:由于之前零零碎碎安装了很多必要的库; 现在只需: (1)下载和解压包 https://github.com/daveselinger/opencv/tree/3.1.0-with-cuda8 这里的分支是:3.1.0-with-cuda8 (2)到opencv文件夹中, mkdir build cd 阅读全文

posted @ 2016-06-09 09:05 一动不动的葱头 阅读(304) 评论(0) 推荐(0)

openmp
摘要:http://stackoverflow.com/questions/22634121/openmp-c-matrix-multiplication-run-slower-in-parallel 阅读全文

posted @ 2016-06-07 10:18 一动不动的葱头 阅读(127) 评论(0) 推荐(0)

opencv 读写矩阵
摘要:http://note.youdao.com/share/?id=75e2475e2f70f568600e3603e85863b9&type=note#/ 阅读全文

posted @ 2016-06-06 20:40 一动不动的葱头 阅读(121) 评论(0) 推荐(0)

string to const char*
摘要:https://kokkachiprogramming.wordpress.com/2012/11/12/how-to-convert-string-to-const-char-in-c/ 阅读全文

posted @ 2016-06-06 15:18 一动不动的葱头 阅读(206) 评论(0) 推荐(0)

c++ string to number
摘要:http://www.cplusplus.com/forum/general/13135/ 阅读全文

posted @ 2016-06-05 22:38 一动不动的葱头 阅读(301) 评论(0) 推荐(0)

split boost c++
摘要:http://stackoverflow.com/questions/20916232/split-c-string-boost 阅读全文

posted @ 2016-06-05 22:04 一动不动的葱头 阅读(109) 评论(0) 推荐(0)

又是读了多个文件没关闭,搞死了一晚
摘要:上次matlab也是这样。dir读写文件没关闭,循环读。调了半天。 这次又来!原来写了44行,应改写在42行。再一次强调,看代码要十分耐心。 阅读全文

posted @ 2016-04-08 10:34 一动不动的葱头 阅读(280) 评论(0) 推荐(0)

Segmentation fault (core dumped)
摘要:这个 该死的错误:搞了一天。 http://www.cprogramming.com/debugging/segfaults.html 五种可能: dereferencing NULL, dereferencing an uninitialized pointer, dereferencing a 阅读全文

posted @ 2016-04-02 20:41 一动不动的葱头 阅读(1970) 评论(0) 推荐(0)

why we need virtual key word
摘要:http://stackoverflow.com/questions/2391679/why-do-we-need-virtual-methods-in-c 简言之,声明基类时,而实际指向派生类。如果没有virtual,那么对象就无法使用这个方法, 调用时,调用的还是基类的对应的方法。 阅读全文

posted @ 2016-03-27 15:32 一动不动的葱头 阅读(203) 评论(0) 推荐(0)

rnn lstm
摘要:资料收集:https://github.com/kjw0612/awesome-rnn 代码+例子+物理意义:https://iamtrask.github.io/2015/11/15/anyone-can-code-lstm/ lstm详解:http://colah.github.io/posts 阅读全文

posted @ 2016-03-18 09:04 一动不动的葱头 阅读(204) 评论(0) 推荐(0)

gemm c++
摘要:http://www.pittnuts.com/2015/08/gemm-of-caffe/ 阅读全文

posted @ 2016-03-15 22:20 一动不动的葱头 阅读(466) 评论(0) 推荐(0)

c++ 走向高级之日积月累
摘要:1.enum:http://en.cppreference.com/w/cpp/language/enum 2.weak_pr:http://en.cppreference.com/w/cpp/memory/weak_ptr shared_pr给释放了,weak_pr给缓冲一下作用 3.thread 阅读全文

posted @ 2016-03-15 17:24 一动不动的葱头 阅读(178) 评论(0) 推荐(0)

c++ 线程
摘要:http://www.cplusplus.com/reference/thread/thread/ 阅读全文

posted @ 2016-03-15 08:59 一动不动的葱头 阅读(136) 评论(0) 推荐(0)

InitGoogleLogging坑爹
摘要:  google::InitGoogleLogging(argv[0]);    //::google::InitGoogleLogging(argv[0]); 加上这句,竟然没有日志 阅读全文

posted @ 2016-03-14 16:37 一动不动的葱头 阅读(1937) 评论(0) 推荐(0)

shared_ptr
摘要:http://blog.csdn.net/sndaxdrs/article/details/6175701 阅读全文

posted @ 2016-03-14 15:21 一动不动的葱头 阅读(118) 评论(0) 推荐(0)

try catch 好不好
摘要:http://www.zhihu.com/question/29459586 阅读全文

posted @ 2016-03-14 14:19 一动不动的葱头 阅读(118) 评论(0) 推荐(0)

c++ assert
摘要:http://blog.csdn.net/sndaxdrs/article/details/6175701 阅读全文

posted @ 2016-03-14 13:39 一动不动的葱头 阅读(105) 评论(0) 推荐(0)

导航