2020年4月24日

摘要: https://blog.csdn.net/BokeyGeGe/article/details/78631328 阅读全文
posted @ 2020-04-24 12:13 等下一班车 阅读(160) 评论(0) 推荐(0) 编辑

2020年4月15日

摘要: 阅读全文
posted @ 2020-04-15 21:58 等下一班车 阅读(611) 评论(0) 推荐(0) 编辑

2020年3月9日

摘要: cv::String dataPath = "/home/zx/ClionProjects/convertIndex/rgb/"; //"./rgbd_dataset_freiburg1_desk/rgb/" dataPath = dataPath ; vector<cv::String> imag 阅读全文
posted @ 2020-03-09 20:42 等下一班车 阅读(956) 评论(0) 推荐(0) 编辑
 
摘要: windows下_mkdir函数 #include<direct.h>int _mkdir( const char *dirname ); 参数:dirname是目录的路径名指针 返回值:如果新目录的创建时间,这些功能中的每一个返回值 0。 在错误,则函数返回 – 1 linux下mkdir函数mo 阅读全文
posted @ 2020-03-09 19:44 等下一班车 阅读(357) 评论(0) 推荐(0) 编辑
 
摘要: man了一下才知道该函数主要用于文件读取方面——判断文件是否存在,并判断文件是否可写。Linux下,该函数为access,位于头文件<unistd.h>中,而在标准C++中,该函数为_access,位于头文件<io.h>中,两者的使用方法基本相同,只是在一些参数方面可能会有一些不同的宏定义。下面是标 阅读全文
posted @ 2020-03-09 19:37 等下一班车 阅读(1445) 评论(0) 推荐(0) 编辑

2020年3月7日

摘要: #include <iostream> #include<string> #include<stdio.h> #include<vector> using namespace std; /* run this program using the console pauser or add your 阅读全文
posted @ 2020-03-07 16:11 等下一班车 阅读(92) 评论(0) 推荐(0) 编辑

2020年2月1日

摘要: 服务器相关未解决问题: 1.虚拟机将本地主机作为服务器吗?: ## 2.一个域名可以对应多个IP怎么理解: 如何判断自己是否在局域网内? 阅读全文
posted @ 2020-02-01 15:51 等下一班车 阅读(125) 评论(0) 推荐(0) 编辑

2020年1月16日

摘要: 2 find_package(Threads REQUIRED) 3 if(THREADS_HAVE_PTHREAD_ARG) 4 set_property(TARGET fork PROPERTY COMPILE_OPTIONS "-pthread") 5 set_property(TARGET 阅读全文
posted @ 2020-01-16 15:29 等下一班车 阅读(2516) 评论(0) 推荐(0) 编辑

2019年12月31日

摘要: #include<stdio.h> #include<vector> #include<iostream> #include<algorithm> using namespace std; int C,D,Davg,N; double totDis = 0.0; double totCost = 0 阅读全文
posted @ 2019-12-31 21:28 等下一班车 阅读(169) 评论(0) 推荐(0) 编辑

2019年12月30日

摘要: #include<stdio.h> #include<iostream> #include<vector> #include<string> using namespace std; int f[1010][1010] = {0}; int main() { string s; getline(ci 阅读全文
posted @ 2019-12-30 21:53 等下一班车 阅读(176) 评论(0) 推荐(0) 编辑