上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 125 下一页
摘要: c++ string转int #include <string>#include <iostream> int main() { std::string str = "123"; int num = std::stoi(str); std::cout << num << std::endl; // 阅读全文
posted @ 2025-01-09 07:56 txwtech 阅读(17) 评论(0) 推荐(0)
摘要: dataGridView的属性 隐藏单元格的值 CellPainting private void dataGridView_front_section_storage_09_CellPainting(object sender, DataGridViewCellPaintingEventArgs 阅读全文
posted @ 2025-01-08 16:56 txwtech 阅读(23) 评论(0) 推荐(0)
摘要: 目前,视觉检测需求主要分为二维和三维两种类型:二维检测包括:识别定位,图像中的位置,角度OCR识别,字符识别二维码识别,条码识别测量,距离测量,尺寸,自动标注尺寸缺陷检测三维检测包括:多目标定位三维重建三维匹配等 阅读全文
posted @ 2025-01-08 09:31 txwtech 阅读(37) 评论(0) 推荐(0)
摘要: C++ 提供了丰富的字符串操作功能,以下是一些常用的字符串操作方法: 使用标准库 <string> 声明和初始化 cpp 复制 #include <string> std::string str1 = "Hello"; std::string str2("World"); std::string s 阅读全文
posted @ 2025-01-08 08:00 txwtech 阅读(1083) 评论(0) 推荐(0)
摘要: 参考: https://txwtech.blog.csdn.net/article/details/144694773?spm=1001.2014.3001.5502 添加mysql lib库 阅读全文
posted @ 2025-01-07 17:09 txwtech 阅读(27) 评论(0) 推荐(0)
摘要: std::chrono 是 C++11 引入的时间库,用于进行时间的计算与表示。它不是标准库的一部分,但是被包含在 <chrono> 头文件中。 使用 std::chrono 的基本步骤如下: 使用现有的时间点或时间间隔来初始化 std::chrono 的时间点或时间间隔对象。 使用 std::ch 阅读全文
posted @ 2025-01-07 13:14 txwtech 阅读(138) 评论(0) 推荐(0)
摘要: std::string转wchar_t,WCHAR #include <string> #include <windows.h> std::string str = "Your ASCII or UTF-8 string"; int wstr_size = MultiByteToWideChar(C 阅读全文
posted @ 2025-01-07 11:06 txwtech 阅读(119) 评论(0) 推荐(0)
摘要: 0x00007FFDD8CBB699 处(位于 SugarTvision.exe 中)有未经处理的异常: Microsoft C++ 异常: cv::Exception,位于内存位置 0x000000F7FF2F6DA0 处 opencv lib QT可能是lib库编译后,QT开发的应用程序调用的地 阅读全文
posted @ 2025-01-06 14:36 txwtech 阅读(240) 评论(0) 推荐(0)
摘要: template <typename T1, typename T2> class AbsLess { public: bool operator()(T1& t1, T2& t2) { return t1 < t2; } }; operator加(),是仿函数 https://www.cnblog 阅读全文
posted @ 2025-01-05 22:21 txwtech 阅读(17) 评论(0) 推荐(0)
摘要: 头文件添加:windows.h OpenCV4.5.3的命名空间using namespace cv;和windows中的ACCESS_MASK定义冲突,在windows.h头文件中。 或者参考: opencv图像显示中文, 文末,函数放在类里面再编译 阅读全文
posted @ 2025-01-05 20:54 txwtech 阅读(58) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 125 下一页