• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
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 阅读(188) 评论(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 阅读(636) 评论(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 阅读(289) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3