随笔分类 -  c++

glog功能介绍
摘要:http://mengjh.blog.51cto.com/2860827/546766 阅读全文

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

caffe train c++
摘要:https://github.com/BVLC/caffe/issues/1888 阅读全文

posted @ 2016-03-10 23:37 一动不动的葱头 阅读(193) 评论(0) 推荐(0)

caffe c++
摘要:http://www.zhihu.com/question/26493556 阅读全文

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

opencv3.0 imread问题
摘要:http://answers.opencv.org/question/46755/first-example-code-error/ 阅读全文

posted @ 2016-02-26 13:35 一动不动的葱头 阅读(122) 评论(0) 推荐(0)

自己的layer
摘要:https://github.com/BVLC/caffe/wiki/Development 阅读全文

posted @ 2016-02-26 09:24 一动不动的葱头 阅读(113) 评论(0) 推荐(0)

opencv 摄像头
摘要:1 //--------------------------------------【程序说明】------------------------------------------- 2 // 程序说明:《OpenCV3编程入门》OpenCV2版书本附赠示例程序13 3 // 程序描述:摄像头帧频检 阅读全文

posted @ 2016-02-03 16:09 一动不动的葱头 阅读(236) 评论(0) 推荐(0)

基于昨天调代码的收获
摘要:最近忙得不行,好不容易有点时间调试代码,写下经验。实际上,这种事已经做了很多遍,没有认真自己总结,每次花很多时间来想。1、c++ 基于平台VS静态lib库:在vc++目录中输入目录,在链接->输入中加入库的名字动态库dll:可能需要在环境中设置环境变量(代码中可能定义了一些环境变量),或者将dl... 阅读全文

posted @ 2015-10-28 19:24 一动不动的葱头 阅读(163) 评论(0) 推荐(0)

c++ 读取所有图片
摘要:copyright by Jun Yang, SUN YAT-SEN UNIVERSITY//FileList.h//////////////////////////////////////////////////////获取目录路径下面所有文件的内容//适用于linux和windows系统////... 阅读全文

posted @ 2015-10-24 19:49 一动不动的葱头 阅读(1549) 评论(0) 推荐(0)

makefile for opencv
摘要:makefile##################################################### Generic makefile - 万能Makefile# for compiling and linking C++ projects on Linux # Author:... 阅读全文

posted @ 2015-09-07 17:26 一动不动的葱头 阅读(625) 评论(0) 推荐(0)

linux Makefile(中文版1)
摘要:############################################################################## Generic Makefile for C/C++ Program# 用法:# ------# 1. 拷贝Makefile到你的代码目录下#... 阅读全文

posted @ 2015-09-06 19:45 一动不动的葱头 阅读(328) 评论(0) 推荐(0)

linux makefile (English)
摘要:############################################################################## Generic Makefile for C/C++ Program# Usage:# ------# 1. Copy the Makefil... 阅读全文

posted @ 2015-09-06 18:28 一动不动的葱头 阅读(495) 评论(0) 推荐(0)

hog+svm+检测人(代替默认的参数)
摘要:#include #include #include #include //#include #include #include #include "opencv2/imgproc/imgproc.hpp"#include "opencv2/objdetect/objdetect.hpp"#defi... 阅读全文

posted @ 2015-09-06 11:24 一动不动的葱头 阅读(1475) 评论(0) 推荐(0)

eclipse ubuntu error
摘要:eclipse cdt :symbol cout can not be solvedPreferences -> C/C++ -> Indexer -> Use active build configuration 阅读全文

posted @ 2015-09-06 09:10 一动不动的葱头 阅读(173) 评论(0) 推荐(0)

HOG+SVM+INRIAPerson数据集代码
摘要:#include #include #include #include //#include #include #include #include "opencv2/imgproc/imgproc.hpp"#include "opencv2/objdetect/objdetect.hpp"using... 阅读全文

posted @ 2015-09-02 18:14 一动不动的葱头 阅读(3259) 评论(0) 推荐(0)

sprintf
摘要:http://baike.baidu.com/link?url=XRKE5a8nno3OoFEQbTQW6quKq8ZXb3g0A-H6sTkj7stGAXO7LA6bqRKrD2eAFqu4lHP9RKfFCB1gGGlDyTUlR_ 阅读全文

posted @ 2015-09-01 09:44 一动不动的葱头 阅读(120) 评论(0) 推荐(0)

memset,memcpy,strcpy
摘要:http://www.cppblog.com/junfeng568/archive/2006/03/11/4022.html 阅读全文

posted @ 2015-09-01 09:40 一动不动的葱头 阅读(132) 评论(0) 推荐(0)

磁盘读写
摘要:有两个磁盘文件,各存放一行字母,今要求把这两个文件中的信息合并(按字母顺序排列),输出到一个新的文件中去。#include #include int main(){ FILE* fp; //文件1 if ((fp = fopen("E:\\test\\text\\text1.txt... 阅读全文

posted @ 2015-07-29 00:04 一动不动的葱头 阅读(325) 评论(0) 推荐(0)

putc,fputc,和putchar
摘要:putc()功能和fputc()差不多,一个是宏,一个是函数putc(int ch,FILE *fp),即将字符ch输出到fp所指的文件中;putchar(char ch),即将字符ch输出到标准输出设备上。 阅读全文

posted @ 2015-07-28 23:01 一动不动的葱头 阅读(594) 评论(0) 推荐(0)

c读写文件
摘要://如何读写文件字符,使用gets(),puts(),fgets(),fputc()函数//gets()函数用来从标准输入设备(键盘)读取字符串直到换行符结束,但换行符会被丢弃,然后在末尾添加'\0'字符,和puts配合使用//从严格程度讲,gets(s)函数#include#include int... 阅读全文

posted @ 2015-07-28 22:21 一动不动的葱头 阅读(268) 评论(0) 推荐(0)

stdlib.h
摘要:stdlib 头文件即standard library标准库头文件。stdlib.h里面定义了五种类型、一些宏和通用工具函数。1 类型例如size_t、wchar_t、div_t、ldiv_t和lldiv_t;2 宏例如EXIT_FAILURE、EXIT_SUCCESS、RAND_MAX和MB_CU... 阅读全文

posted @ 2015-07-28 21:37 一动不动的葱头 阅读(343) 评论(0) 推荐(0)

导航