会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
sea5
博客园
首页
新随笔
联系
订阅
管理
2018年8月29日
python调用c++ DLL
摘要: python DLL = ctypes.cdll.LoadLibrary("./dll_file.so") #引入dllDLL.func(mat.ctypes.data // (1 << 16), mat.ctypes.data % (1 << 16)) #获取numpy.array地址 c++ e
阅读全文
posted @ 2018-08-29 11:30 sea5
阅读(175)
评论(0)
推荐(0)
编辑
2015年7月8日
判断进程是否正在运行
摘要: #include #include int FindProcess(char *s) //返回此进程运行个数 { int cnt = 0; PROCESSENTRY32 pe32; pe32.dwSize = sizeof(pe32); HANDLE hProcessSnap = ::CreateToolhelp32Snapshot(TH32CS_SNAPPR...
阅读全文
posted @ 2015-07-08 23:16 sea5
阅读(622)
评论(0)
推荐(0)
编辑
2015年7月6日
重载运算符:类成员函数or友元函数
摘要: 类成员函数:bool operator ==(const point &a)const { return x==a.x; }友元函数:friend bool operator ==(const point &a,const point &b) { ...
阅读全文
posted @ 2015-07-06 17:00 sea5
阅读(280)
评论(0)
推荐(0)
编辑
公告