原创 解決windows安裝dlib出現的問題
https://blog.csdn.net/scottzeg/article/details/96362109
原创 安裝opencv+boost庫
Step #1: Install OpenCV dependencies on Ubuntu 16.04 $ sudo apt-get upgrade $ sudo apt-get install build-essential cma
原创 自動駕駛小車控制
ssh [email protected].*.*** cd racecar-ws rosrun beginner_tutorials talker roslaunch racebot test_vesc.launch cd race
原创 阿里巴巴2020屆暑期實習C++開發編程題2
區間合併 #include <iostream> #include <map> #include <cmath> #include <cstring> #include <algorithm> #include <vector> us
原创 thrift實現圖片傳輸(c++)並使用libjpeg-turbo庫將jpeg轉爲bmp
thrift編寫服務器/客戶端實現圖片傳輸(c++) 這裏需要注意在編譯時會報錯,需要在Makefile中將-lthrift移到最後。 server: server.cpp g++ -DHAVE_NETINET_IN_
原创 Ubuntu16.04安裝編譯thrift 並運行c++ Demo
Ubuntu編譯thrift 這裏要注意boost的安裝路徑 /bootstrap.sh --prefix="boost安裝路徑" sudo ./b2 --prefix="boost安裝路徑" thrift框架使用c++的一個Dem
原创 Ubuntu系統下爲usb開啓權限
Ubuntu系統下爲usb開啓權限查詢usb所掛載的位置打開權限 查詢usb所掛載的位置 使用命令lsusb 由上圖可知,Memorex所掛載的位置爲Bus003 Device014 打開權限 sudo chmod 777 /dev
原创 虛擬機如何和主機建立共享文件夾
詳情請見: https://jingyan.baidu.com/article/656db918cca831e381249cce.html
原创 【數據結構】---排序1
冒泡排序 void BubbleSort(int arr[],int n){ if(n==1||n==0) return; for(int e=n-1;e>0;e--){ for(int i=0;i<e;i
原创 字符串子串的完全替換
循環替換 string& replace_all(string& str,const string& old_value,const string& new_value){ while(true){ s
原创 大整數類BigInteger
#include<iostream> #include<cstring> #include<vector> #include<algorithm> #include<stdio.h> using namespace std; struc
原创 【數據結構】---kmp算法
#include <iostream> #include <cstring> using namespace std; int getIndexOf(string str1, string str2){ int len1 = str1.
原创 牛客網初級班(2)
堆排序 void swap(int arr[],int i,int j){ int tmp=arr[i]; arr[i]=arr[j]; arr[j]=tmp; } void heapInsert(int ar