![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++学习笔记
lvshenzhen
这个作者很懒,什么都没留下…
展开
-
我就是这样用C++加载图片的
#include <opencv2/opencv.hpp>#include #include #include #include using namespace cv;using namespace std;int main() {std::string pattern_jpg = “D:\Photo and Video\destop1\*.jpg”;std::vec...原创 2019-04-27 19:22:18 · 2487 阅读 · 1 评论 -
组合窗口的设置
我就是这样的改变下拉菜单的当前值的:connect(ui->comboBox,&QComboBox::currentTextChanged,={QString str=ui->comboBox->currentText();qDebug()<< str<<endl;});...原创 2019-05-08 15:45:54 · 284 阅读 · 0 评论 -
字符串的输出
char a[64];sprintf(a, “曝光(%.4f~%.4f)%s”, dGainValueMin, dGainValueMax, strGainUnit.c_str());原创 2019-05-07 20:50:52 · 202 阅读 · 0 评论