
c++
lch_vision
这个作者很懒,什么都没留下…
展开
-
vs编译静态库dll,不生成lib的解决方法
相关博客资料两种解决方法https://blog.youkuaiyun.com/qikaihuting/article/details/114840248def文件的示意https://www.cnblogs.com/zhouhbing/p/3884810.htmldef的语法https://www.cnblogs.com/hnfxs/p/3636159.html原创 2021-08-13 10:47:39 · 677 阅读 · 0 评论 -
c/c++中三维数组的传递
#include <iostream>#include <windows.h>using namespace std;const int x = 10;const int y = 10;const int z = 10;int bar(double arr[][y][z]);int main() { double foo[x][y][z]; ...转载 2019-05-22 11:03:59 · 7293 阅读 · 0 评论 -
c/c++中vector 去重,交集,并集,查找,求最大最小值等操作
元素删除可参考http://c.biancheng.net/view/429.html去重可参考https://blog.youkuaiyun.com/HE19930303/article/details/50579996对vector中的pair排序https://www.cnblogs.com/bigyang/p/8590552.html批量赋值:https://blog.youkuaiyun.com...原创 2019-06-12 10:02:03 · 3605 阅读 · 0 评论 -
c++中GetWindowRect函数获得窗口位置
HWND gameh=::FindWindow(NULL,"test"); //test为窗口名称 RECT r1; ::GetWindowRect(gameh,&r1);cv::Point m ;//左上角坐标 m.x=r1.left;m.y=r1.top;需要添加头文件#include<windows.h>Enjoy!...原创 2019-07-01 13:47:16 · 13526 阅读 · 2 评论