
C/C++
技术菌的blog
一个热爱小提琴、走全栈道路的数据库Hacker,GZ号:『全栈Hacker之路』
展开
-
SXH232摄像头使用示范
It occurred to me suddenly that I wanted to program the our camera sensor for PC desktop, just like the one purchased from shop, which can make the video recording. Finally although the result seemed原创 2014-05-09 12:44:37 · 2978 阅读 · 0 评论 -
mongodb及mongoclient在win7下的编译和使用
1、导言 折腾mongodb几个小时终于有结果了。呃!现在就简单总结一下。 其实我的需求很简单,就是在C++代码中调用mongodb的库函数,也就是要得到mongoclient.lib。本来想直接下载个,可在网上也没找到,觉得重新编译也不麻烦,于是就下了源码编译。可下错了源码,编了半天也编不出来,晕! 其实就是参考了网友们的文章,在这里下载了源码mongodb-src-r2.6.3.zip。原创 2014-07-22 17:14:55 · 9935 阅读 · 14 评论 -
socket通信——多角度控制LED灯亮灭
今天以物联网网关(网关链接)以服务器,在多个客户端就做一个非常简单的功能:点亮或熄灭网关上的LED灯。目前想到了三种方式,分别是:TCP&UDP测试工具、自编Java客户端和Mono Android客户端。相信这会很有意思的。 此文绝对原创,转载请注明出处! 1、服务器端 在使用或编写客户端之前,首先来看看服务器端代码,其专门通过串口烧进网关内部 OutputPort原创 2014-05-22 15:27:37 · 7434 阅读 · 9 评论 -
线程与异常
最近遇到了一个不知该如何解释的问题。细节如下:代码片段#include <iostream> #include <signal.h> #include <stdlib.h> #include <string> #include <thread> #include <unistd.h> #include <vector>using namespace std;vector<thread*> v1; v原创 2016-12-09 19:09:22 · 3630 阅读 · 0 评论 -
boost-1.53源码编译
1、下载源码。首先得明白,boost大多数库都只有头文件,链接时不需Lib文件;以下库需要单独编译成库: Boost.Filesystem Boost.GraphParallel Boost.IOStreams Boost.MPI Boost.ProgramOptions Boost.Python Boost.Regex Boost.Serialization Boost.Sig原创 2014-06-21 09:34:46 · 3748 阅读 · 1 评论 -
The Combined Programming of VS2008 and Matlab
Today, let’s do one thing: take a combined programming with VS2008 and matlab2009a. Configuration of Matlab First, launch matlab and do the following to configure the initial environment :(the re原创 2013-01-17 11:55:31 · 3673 阅读 · 1 评论