随笔分类 -  C++

摘要:#include <iostream>#include <string>#include <fstream>#include <sstream> using namespace std; template<typename T>int compare(const T &v1, const T &v2 阅读全文
posted @ 2019-06-03 21:15 西北逍遥 阅读(182) 评论(0) 推荐(0)
摘要:#pragma once#include <iostream>#include <iomanip> using namespace std; template<class T>class Queue{ struct Node { T a; Node *next; }; public: Queue() 阅读全文
posted @ 2019-06-03 20:29 西北逍遥 阅读(351) 评论(0) 推荐(0)
摘要:#pragma once#include <iostream>#include <iomanip> using namespace std; class Queue{ struct Node { int a; Node *next; }; public: Queue(); void push(int 阅读全文
posted @ 2019-06-03 19:46 西北逍遥 阅读(270) 评论(0) 推荐(0)
摘要:#include <iostream>#include <string>#include <vector>#include <memory> using namespace std; class Person{ public: string name; shared_ptr<Person> moth 阅读全文
posted @ 2019-05-31 15:10 西北逍遥 阅读(302) 评论(0) 推荐(0)
摘要:#include <string>#include <fstream>#include <memory>#include <cstdio> class FileDeleter{ private: std::string filename; public: FileDeleter(const std: 阅读全文
posted @ 2019-05-31 14:18 西北逍遥 阅读(371) 评论(0) 推荐(0)
摘要:20:28:54: 为项目RoboticArmProject_CarTerminal_V20190530执行步骤 ...20:28:54: 正在启动 "/usr/bin/make" clean -j4 rm -f moc_predefs.hrm -f moc_mainwindow.cpprm -f 阅读全文
posted @ 2019-05-30 20:33 西北逍遥 阅读(799) 评论(0) 推荐(0)
摘要:“AnalysisPtsDataTool201905.exe”(Win32): 已加载“F:\OpencvProject\ZY-Project\x64\Debug\AnalysisPtsDataTool201905.exe”。已加载符号。“AnalysisPtsDataTool201905.exe” 阅读全文
posted @ 2019-05-17 12:01 西北逍遥 阅读(5499) 评论(0) 推荐(0)
摘要://打开Pts文件按钮点击事件void AnalysisPtsDataTool201905::OnOpenFileButtonClick(){ qDebug()<<"open file..."; //定义文件对话框类 QFileDialog *fileDialog = new QFileDialog 阅读全文
posted @ 2019-05-17 10:45 西北逍遥 阅读(9661) 评论(0) 推荐(0)
摘要:#ifdef _WIN32#include <windows.h>#endif#include <osgViewer/Viewer>#include <osgDB/ReadFile> int main(){ osgViewer::Viewer viewer; osg::Node *node = ne 阅读全文
posted @ 2019-05-12 16:07 西北逍遥 阅读(470) 评论(0) 推荐(0)
摘要:3 -0.118269 0.655295 1.7431 930.03 139.5962 -0.124249 0.506111 1.79473 926.387 239.42820 -0.122777 0.431689 1.81141 927.05 285.7894 -0.313704 0.388806 阅读全文
posted @ 2019-05-04 17:14 西北逍遥 阅读(218) 评论(0) 推荐(0)
摘要:编译项目时,发现报错:VS 无法打开包括文件: “QOpenGLWidget”: No such file or directory,在Qt对应的目录(E:\Qt\Qt5.12.2\5.12.2\msvc2017_64\include)中发现QOpenGLWidget是在QtWidgets目录下面的 阅读全文
posted @ 2019-04-14 21:00 西北逍遥 阅读(4078) 评论(0) 推荐(0)
摘要:下载: https://www.boost.org/ 或者 https://dl.bintray.com/boostorg/release/1.66.0/source/ 下载完成以后解压到自己想要放置的目录 打开VS 2017 x64的本机工具命令提示 : 在命令行切换到boost的放置目录 (注意 阅读全文
posted @ 2019-04-12 15:05 西北逍遥 阅读(1698) 评论(0) 推荐(1)
摘要: 阅读全文
posted @ 2019-03-04 21:04 西北逍遥 阅读(1383) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/a_Treasure/article/details/82152245 https://www.bbsmax.com/A/kPzOQ4oo5x/ https://www.cnblogs.com/masking-timeflows/p/8532952.htm 阅读全文
posted @ 2019-01-17 14:51 西北逍遥 阅读(228) 评论(0) 推荐(0)
摘要:08:11:47: 进程"/usr/bin/make"正常退出。 08:11:47: 配置没有改变, 跳过 qmake 步骤。 08:11:47: 正在启动 "/usr/bin/make" -j4 /home/luo/Qt/Qt5_12/5.12.0/gcc_64/bin/uic ../QtSock 阅读全文
posted @ 2018-12-17 08:16 西北逍遥 阅读(589) 评论(0) 推荐(0)
摘要:#include <stdio.h>#include <iostream>#include <cstring>#include <fstream>#include <winsock2.h>#include <opencv2/opencv.hpp>//#include <netlistmgr.h>#i 阅读全文
posted @ 2018-12-07 10:19 西北逍遥 阅读(451) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-11-12 09:21 西北逍遥 阅读(1974) 评论(6) 推荐(0)
摘要:/*************************************************Function: splitDescription: 根据空格切分字符串Calls: // 被本函数调用的函数清单Table Accessed: // 被访问的表(此项仅对于牵扯到数据库操作的程序) 阅读全文
posted @ 2018-11-01 14:49 西北逍遥 阅读(600) 评论(0) 推荐(0)
摘要:#include <iostream>#include <opencv2/opencv.hpp> using namespace std;using namespace cv; int main(){ Mat img1; img1 = imread("D://images//111.jpg"); i 阅读全文
posted @ 2018-10-24 18:51 西北逍遥 阅读(4578) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-10-15 19:17 西北逍遥 阅读(175) 评论(0) 推荐(0)