随笔分类 -  C++

摘要:1.[dellimport] 方式调用c++ opencvsharp emgucv https://github.com/shimat/opencvsharp/tree/master/src/OpenCvSharp/PInvoke https://www.codeproject.com/Articl 阅读全文
posted @ 2017-04-14 13:50 lwn6 阅读(259) 评论(0) 推荐(0)
摘要:有几种配置方案 1、openNI+SensorKinect+PCL 的开发环境(pcl 标配) http://blog.csdn.net/chenxin_130/article/details/6693390 2.openNI+微软官方的Kinect for Windows SDK+kinect-m 阅读全文
posted @ 2017-02-19 16:22 lwn6 阅读(397) 评论(0) 推荐(0)
摘要:boost 编译安装包下载地址: http://boost.teeks99.com/ boost安装:http://blog.sina.com.cn/s/blog_7c48b0f10102v0zj.html boost 源码包:https://sourceforge.net/projects/boo 阅读全文
posted @ 2016-08-02 09:41 lwn6 阅读(696) 评论(0) 推荐(0)
摘要:1.学习资料 http://blog.csdn.net/dustpg/article/details/37982311 https://github.com/mdkus/kinect-mssdk-openni-pcl-bridge/ https://github.com/UnaNancyOwen/K 阅读全文
posted @ 2016-07-20 10:06 lwn6 阅读(241) 评论(0) 推荐(0)
摘要:官方教程:http://wiki.qt.io/How_to_create_a_library_with_Qt_and_use_it_in_an_application http://qimo601.iteye.com/blog/1397936 在VS2013 QT 中如何创建和引用静态和动态链接库 阅读全文
posted @ 2016-07-04 13:49 lwn6 阅读(1381) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-11-13 09:12 lwn6 阅读(2) 评论(0) 推荐(0)
摘要:用C语言写一个函数,去除字符串中的空格,并返回删除的空格的个数。不允许开辟新的空间,只能申请简单类型的自动变量。时间复杂度要求为O(n)。#include #includeint deleteSpace(char * pstr);void main(){ char word[]="dhkak ... 阅读全文
posted @ 2015-10-29 20:24 lwn6 阅读(485) 评论(0) 推荐(0)
摘要:#include #includevoid show_bytes(unsigned char *start,int len){ std::bitset aByte; for (int i =0;i<len;i++) { aByte = start[i]; ... 阅读全文
posted @ 2015-10-29 19:55 lwn6 阅读(256) 评论(0) 推荐(0)
摘要:1.WebbenchWebbench是一个在linux下使用的非常简单的网站压测工具。它使用fork()模拟多个客户端同时访问我们设定的URL,测试网站在压力下工作的性能,最多可以模拟3万个并发连接去测试网站的负载能力。Webbench使用C语言编写, 代码实在太简洁,源码加起来不到600行。下载链... 阅读全文
posted @ 2015-09-05 18:28 lwn6 阅读(547) 评论(0) 推荐(0)
摘要:1、http://snippets.dzone.com/tag/c/--数以千计的有用的C语言源代码片段2、http://www.hotscripts.com/category/c-cpp/scripts-programs/ Hotscripts --提供数以百计的C和C++脚本和程序。所有程序都分... 阅读全文
posted @ 2015-09-05 18:25 lwn6 阅读(202) 评论(0) 推荐(0)
摘要:一、构建动态链接库(dll.dll dll.lib dll.h)说明:.dll 是在执行程序是调用 .lib 是在连接程序是调用 .h是在编译程序时调用 1.头文件(声明导入函数):_declspec(dllimport) int add(int a,int b);//(头文件不参加.dll文件的生... 阅读全文
posted @ 2015-08-22 19:26 lwn6 阅读(338) 评论(0) 推荐(0)
摘要:// reading an entire binary file#include #include #include #includeusing namespace std;int main () { streampos size; char * memblock; char * ... 阅读全文
posted @ 2015-08-22 18:00 lwn6 阅读(144) 评论(0) 推荐(0)
摘要:0、头文件:#include; using namespace std;1、定义: vectorvec;2、迭代器vector::iterator it; vector::const_iterator it; vector::reverse_iterator it; vector::cons... 阅读全文
posted @ 2015-08-22 16:26 lwn6 阅读(661) 评论(0) 推荐(0)
摘要:c++网络通信(有待整理)链接:http://pan.baidu.com/s/1i3nMLKT 密码:ksi8c#网络通信(tcp/udp两部分)TCP发送端:using System;using System.Collections.Generic;using System.Linq;using ... 阅读全文
posted @ 2015-08-22 14:39 lwn6 阅读(1145) 评论(0) 推荐(0)
摘要:一边情况下,C/C++编译器会内置几个宏,这些宏定义不仅可以帮助我们完成跨平台的源码编写,灵活使用也可以巧妙地帮我们输出非常有用的调试信息。ANSI C标准中有几个标准预定义宏(也是常用的):__LINE__:在源代码中插入当前源代码行号;__FILE__:在源文件中插入当前源文件名;__DATE_... 阅读全文
posted @ 2015-07-21 10:22 lwn6 阅读(1013) 评论(0) 推荐(0)
摘要:由于经常涉及到GPS程序的编写,现在貌似这个GPS是越来越火,越来越多的朋友在编写GPS程序,估计是个人都会遇到这个GPS坐标转换的问题,很惭愧的是,作为一个测量专业出身的学生,我还得时不时的要把这些概念翻过来覆过去的看好几遍,每次看书都能有新的收获,我希望这次用这篇博客能够详细具体的把GPS坐标转 阅读全文
posted @ 2015-07-17 20:20 lwn6 阅读(3248) 评论(0) 推荐(0)
摘要:1,安装mysql数据库 关于远程访问问题的一些解决方法:会出现如下错误“ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.137.100' (10061)” #my.ini 配置文件#bind-address =... 阅读全文
posted @ 2015-07-16 18:49 lwn6 阅读(655) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/augusdi/article/details/11883003 阅读全文
posted @ 2015-07-08 17:11 lwn6 阅读(610) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/u010025211/article/details/25032209 开源库:http://www.cs.cmu.edu/~quake/triangle.html 下载地址: 链接:http://pan.baidu.com/s/1jIlxK6U 密码:2x 阅读全文
posted @ 2015-07-08 16:28 lwn6 阅读(1512) 评论(0) 推荐(0)
摘要:1、C++各大有名库的介绍——C++标准库2、C++各大有名库的介绍——准标准库Boost3、C++各大有名库的介绍——GUI4、C++各大有名库的介绍——网络通信5、C++各大有名库的介绍——XML6、C++各大有名库的介绍——科学计算7、C++各大有名库的介绍——游戏开发8、C++各大有名库的介... 阅读全文
posted @ 2015-07-08 15:33 lwn6 阅读(365) 评论(0) 推荐(1)

什么是幸福?天天在做自己想做的事情,家人、同事、朋友、客户、网友都和和睦睦,身体健康、钱包鼓鼓、女朋友天天开心、生活无忧无虑就是最大的幸福