会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
在左手
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2018年4月2日
linux c++自己使用pthread封装的线程类
摘要: //demo2: 传入相应参数 //demo3:抛出发送信息 //demo4: 线程调用类方法执行 //demo4:使用类模板方式,线程调用类方法 // worker is changed
阅读全文
posted @ 2018-04-02 10:25 在左手
阅读(2076)
评论(0)
推荐(0)
2018年4月1日
pthread linux mutet:example1
摘要: g++ -o test domything.cpp -lpthread //exec child process in the thread
阅读全文
posted @ 2018-04-01 20:59 在左手
阅读(342)
评论(0)
推荐(0)
python c example2:pylame2
摘要: use the python object's methods in c code
阅读全文
posted @ 2018-04-01 12:57 在左手
阅读(234)
评论(0)
推荐(0)
python C example:encode mp3 code
摘要: #include #include #include #define INBUFSIZE 4096 #define MP3BUFSIZE (int)(1.25 * INBUFSIZE) + 7200 int encode(char *inpath, char *outpath) { int status = 0; lame_global_flags *gfp; ...
阅读全文
posted @ 2018-04-01 10:52 在左手
阅读(329)
评论(0)
推荐(0)
python C PyObject
摘要: example2:
阅读全文
posted @ 2018-04-01 08:39 在左手
阅读(1805)
评论(0)
推荐(0)
2018年3月27日
使用VS2015 时 报LNK1104 找不到exe.manifest 的解决方法
摘要: 一般都是由于工程配置文件导致的错误,暴力方法: 直接用文本工具打开.vcxproj文件。搜索AdditionalManifestFiles ,然后根据当前工程目录进行更改
阅读全文
posted @ 2018-03-27 16:38 在左手
阅读(954)
评论(0)
推荐(0)
There's no Qt version assigned to this project for platform Win32. Please use the 'change Qt version' feature and choose a valid Qt version for this platform.
摘要: 这个是用在vs2015时爆出的问题。 解决方法是: 1.鼠标放置在解决方案中的工程名处,用鼠标右键点击(右击)。 2.选择Qt Project Settings,在弹出的对话框中的version栏处填写本地qt含有的版本号
阅读全文
posted @ 2018-03-27 14:20 在左手
阅读(3142)
评论(0)
推荐(0)
2018年3月21日
linux 服务注册 service文件 在service文件中设置变量和环境变量
摘要: [Unit] Description= #服务描述 After=syslog.target #服务启动依赖 [Service] Type=forking #服务启动类型 可选类型有simple forking Environment="LD_LIBRARY_PATH=path" #设置变量 Exec
阅读全文
posted @ 2018-03-21 16:17 在左手
阅读(8772)
评论(0)
推荐(0)
linux undefined reference to symbol 'floor@@GLIBC_2.2.5'
摘要: 这个是因为GNU make版本不一致导致,最后加上-lm g++或者gcc -o main main.c -lm 如果还存在问题 需要加上-Wl,--no-as-needed g++或者gcc -Wl,--no-as-needed -o main main.c -lm
阅读全文
posted @ 2018-03-21 16:08 在左手
阅读(7295)
评论(0)
推荐(1)
boost中全局命名锁的使用
摘要: 使用头文件相对位置为:boost/interprocess/sync/named_mutex.hpp 在程序中使用 boost::interprocess::named_mutex g_namedmutex(boost::interprocess::open_or_create, "theMutex
阅读全文
posted @ 2018-03-21 10:44 在左手
阅读(762)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告