会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
西北逍遥
每一个不能早起的日子,都是对生命的浪费!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
81
82
83
84
85
86
87
88
89
···
96
下一页
2019年6月9日
顺序容器删除元素 vector list deque
摘要: #include <iostream>#include <list>#include <algorithm>#include <string> using namespace std; int main(){ list<string> slist; slist.push_back("A"); sli
阅读全文
posted @ 2019-06-09 15:49 西北逍遥
阅读(321)
评论(0)
推荐(0)
2019年6月8日
UC浏览器打开百度显示 丰臣吉秀.网址
摘要:
阅读全文
posted @ 2019-06-08 21:03 西北逍遥
阅读(359)
评论(0)
推荐(0)
smart_pointer example
摘要: #pragma oncetemplate<typename T>class smart_pointer{private: T* m_pRawPointer;public: smart_pointer(T* pData) :m_pRawPointer(pData) {} //复制构造函数 smart_
阅读全文
posted @ 2019-06-08 20:16 西北逍遥
阅读(181)
评论(0)
推荐(0)
c++ new bad_alloc
摘要: try { for (int i = 0; i<1000; i++) { test1 = new Test(); cout << i << " new dog success..." << endl; } } catch (bad_alloc err) { cout << "fail:"<<err.
阅读全文
posted @ 2019-06-08 19:22 西北逍遥
阅读(548)
评论(0)
推荐(0)
c++自定义数组越异常 ArrayIndexOutOfBoundsException (学习)
摘要: #include <iostream> using namespace std; const int DefaultSize = 10; class Array{public: Array(int itsSize=DefaultSize); ~Array() { delete[] pType; }
阅读全文
posted @ 2019-06-08 17:34 西北逍遥
阅读(896)
评论(0)
推荐(0)
c++ 自定义异常类
摘要: #include <iostream>#include <stdio.h> using namespace std; class IOException{};class FileException{};class UndefineError{}; void my_copy(const char* s
阅读全文
posted @ 2019-06-08 16:54 西北逍遥
阅读(1613)
评论(0)
推荐(0)
c++ throw异常(学习)
摘要: #include <iostream>#include <stdio.h> using namespace std; void my_copy(const char* src_file, const char* dest_file){ FILE *in_file, *out_file; in_fil
阅读全文
posted @ 2019-06-08 16:42 西北逍遥
阅读(1940)
评论(0)
推荐(0)
c++拷贝文件-传统处理异常(学习)
摘要: #include <iostream>#include <stdio.h> using namespace std; int my_copy(const char* src_file,const char* dest_file){ FILE *in_file, *out_file; in_file
阅读全文
posted @ 2019-06-08 16:37 西北逍遥
阅读(378)
评论(0)
推荐(0)
2019年6月7日
队列扩容
摘要: template<class T> void Queue<T>::Push(const T& item){ /*if (rear == capacity-1) { rear = 0; } else { rear++; }*/ //判断队列是否存满 if ((rear+1)%capacity == f
阅读全文
posted @ 2019-06-07 21:29 西北逍遥
阅读(540)
评论(0)
推荐(0)
rrt tree
摘要: package com.bim.rrt_20190529; import static java.lang.Math.pow;import static java.lang.Math.sqrt; import java.util.ArrayList; public class Tree { Node
阅读全文
posted @ 2019-06-07 13:10 西北逍遥
阅读(191)
评论(0)
推荐(0)
2019年6月6日
c++ for_each
摘要: #include<iostream>#include<algorithm>#include<vector>using namespace std; int main(){ vector<int> v1; for(int i=0;i<10;++i) { v1.push_back(i); } for_e
阅读全文
posted @ 2019-06-06 08:55 西北逍遥
阅读(310)
评论(0)
推荐(0)
c++ for each
摘要: #include <iostream>#include <vector>#include <list> using namespace std; int main(){ vector<int> a; for (int k=0;k<10;k++) { a.push_back(k); } list<ch
阅读全文
posted @ 2019-06-06 08:41 西北逍遥
阅读(3983)
评论(0)
推荐(1)
2019年6月5日
c++ 指针
摘要: #include <iostream> using namespace std; class AHasPtr {public: AHasPtr(int *p, int i):ptr(p), val(i) {} int getVal() { return this->val; } int *getPt
阅读全文
posted @ 2019-06-05 09:47 西北逍遥
阅读(166)
评论(0)
推荐(0)
深复制、浅复制
摘要: #include <iostream> using namespace std; class CDemo {public: CDemo(int pa,char *cstr) { this->a = pa; this->str = new char[104]; strcpy(this->str,cst
阅读全文
posted @ 2019-06-05 08:53 西北逍遥
阅读(148)
评论(0)
推荐(0)
2019年6月4日
test result
摘要:
阅读全文
posted @ 2019-06-04 20:30 西北逍遥
阅读(280)
评论(0)
推荐(0)
2019年6月3日
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 西北逍遥
阅读(199)
评论(0)
推荐(0)
c++ template Queue
摘要: #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 西北逍遥
阅读(366)
评论(0)
推荐(0)
Queue class
摘要: #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 西北逍遥
阅读(277)
评论(0)
推荐(0)
2019年6月2日
test
摘要: public slots: //打开Pts文件按钮点击事件 void OnOpenFileButtonClick(); //分析按钮点击事件 void OnAnalysisButtonClick(); //保存按钮点击事件 void OnSaveButtonClock(); //连接按钮点击事件 v
阅读全文
posted @ 2019-06-02 18:52 西北逍遥
阅读(288)
评论(0)
推荐(0)
2019年5月31日
智能指针-共享式shared_ptr
摘要: #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 西北逍遥
阅读(316)
评论(0)
推荐(0)
shared pointer
摘要: #include <string>#include <fstream>#include <memory>#include <cstdio> class FileDeleter{ private: std::string filename; public: FileDeleter(const std:
阅读全文
posted @ 2019-05-31 14:18 西北逍遥
阅读(380)
评论(0)
推荐(0)
realsense数据分析
摘要: line: (434,300) (453,144) (0,0,0),(-0.926698,-1.25853,2.032) 0.781452 line: (259,104) (472,107) (-1.14799,-1.27092,2.052),(-1.11387,-1.25048,2.019) 0.
阅读全文
posted @ 2019-05-31 13:57 西北逍遥
阅读(499)
评论(0)
推荐(0)
2019年5月30日
cmake log
摘要: 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 西北逍遥
阅读(812)
评论(0)
推荐(0)
2019年5月29日
openpose关节图
摘要:
阅读全文
posted @ 2019-05-29 09:37 西北逍遥
阅读(1432)
评论(0)
推荐(0)
2019年5月28日
Qt自定义类添加qvector报错
摘要: PtsData& PtsData::operator=(const PtsData& obj){ return *this;} PtsData::~PtsData(){ }
阅读全文
posted @ 2019-05-28 20:14 西北逍遥
阅读(1108)
评论(0)
推荐(0)
Java csv
摘要: CsvWriter csvWriter = new CsvWriter("data2019052803.csv", ',', Charset.forName("UTF-8")); String[] header1 = {"","holdf","holdb","dropf","dropb","swin
阅读全文
posted @ 2019-05-28 15:45 西北逍遥
阅读(306)
评论(0)
推荐(0)
2019年5月27日
opencv C++ mask_rcnn
摘要: https://github.com/spmallick/learnopencv/tree/master/Mask-RCNN https://www.learnopencv.com/deep-learning-based-object-detection-and-instance-segmentat
阅读全文
posted @ 2019-05-27 14:02 西北逍遥
阅读(810)
评论(0)
推荐(0)
2019年5月25日
realsense data
摘要: line: (43,350) (558,350) (-0.448628,-0.554531,0.995),(0,0,0) 0.713282 line: (334,247) (516,244) (-0.605746,-0.552859,0.992),(0,0,0) 0.820111 line: (11
阅读全文
posted @ 2019-05-25 16:47 西北逍遥
阅读(160)
评论(0)
推荐(0)
2019年5月24日
Test
摘要: 0--֡ Angle:156.70107362674617 Start_joint_type:20 Center_joint_type:8 end_joint_type:9 x:-0.1622750163078308 y:0.0280570387840271 z:7.600784301757812E
阅读全文
posted @ 2019-05-24 20:36 西北逍遥
阅读(210)
评论(0)
推荐(0)
2019年5月23日
ubuntu18 bluebooth
摘要: 19:36:14: The program has unexpectedly finished. 19:36:14: The process was ended forcefully.<!--EndFragment--> <!--EndFragment-->
阅读全文
posted @ 2019-05-23 19:39 西北逍遥
阅读(339)
评论(0)
推荐(0)
上一页
1
···
81
82
83
84
85
86
87
88
89
···
96
下一页
公告