
杂
ysjyniiq
C++ ing
展开
-
C语言貌似坑爹那点事情
1.我的地址的地址 == 我的地址先看个DEMO BYTE byPinBottom[] = { 0xff,0xff,0xfc,0x1f,0xfd,0x9f,0xfd,0x9f, 0xfd,0x9f,0xfd,0x9f,0xfd,0x9f,0xf0,0x07, 0xf0,0x07,0xff,0x7f,0xff,0x7f,0xff,0x7f, 0xff,0x7f,0x原创 2013-06-22 11:15:36 · 862 阅读 · 0 评论 -
线程内核对象对比
线程的内核对象主要有Event,WaitableTimer, Semaphore,Mutex.他们的共同点:1. 有signaled和nonsignaled两程状态。2. 有手动和自动两种模式。这两点比较好理解,不作解释。本文主要总结其区别: WaitableTimerWaitableTimer特点比较鲜明,它到了设定的时间后,就自动切到signal原创 2013-11-02 22:34:57 · 962 阅读 · 0 评论 -
python 调用C++模块 visual studio版
0. 安装python貌似是废话,但这个必须要注意,同时要注意python的版本32 位还是64位这里为$(python_install_dir) 1.编译boost python1.1运行VC的编译环境工具1.1 进入到boost 代码目录($(boost_src)下执行bootstrap.bat 生成 bjam1.2 bjam toolset=原创 2016-04-02 19:20:49 · 2380 阅读 · 0 评论