原创 鏈表之頭插法,尾插法,顯示,長度,查找位置(兩種),刪除;內聯函數小記

# include<stdio.h> # include<stdlib.h> using namespace std; typedef struct node { int data; struct node * next; }No

原创 題記:青春,除了拼搏別無選擇。

寫這篇文章的緣由是,在老師是一再要求下參評一個獎學金被迫寫的(這個獎學金感覺對自己沒太大幫助,一是審覈時間比較長,考博也用不上;二是,還得準備PPT和現場答辯,頗費精力;三是自己所在學校只是普通一本,所以對於考博院校受重視程度也極低,況且

原创 Ubuntu下配置opencv(QT版)和 windows下QT配置opencv免cmake

Ubuntu下配置opencv(QT版) 1. 安裝Qt  在Ubuntu下安裝qt非常簡單,可以參考下面的安裝方法:     https://blog.csdn.net/wuweifeng_2017/article/details/78

原创 自動獲取當前路徑下的所有文件

主要是參考他的代碼,寫的不錯,很受用!狠狠的複習了一把遞歸···· https://www.cnblogs.com/fnlingnzb-learner/p/6424563.html # include<iostream> # incl

原创 自動檢索當前文件夾下的文件

# include<iostream> # include<io.h> # include<string> # include<direct.h> # include<vector> using namespace std; int

原创 遍歷文件夾中的文件名

#include <iostream> using namespace std; int main() { _finddata_t file_info; long handle;//32位編譯器 如果是64位編譯器改爲 intp

原创 類內使用static

# include<iostream> using namespace std; class A { public:     void foo()     {         cout << "void foo()" << endl;

原创 C++中關於class(類)的一點基礎知識整理

# include<stdio.h> # include<iostream> using namespace std; class data_str { public: data_str(char * name = "C+

原创 由端點找出部分線段+單通道融合爲RGB影像

# include<stdio.h> # include<stdlib.h> # include<opencv2/opencv.hpp> using namespace std; using namespace cv; int ma

原创 按值排序---冒泡和選擇

# include<stdio.h> # include<stdlib.h> # include<time.h> using namespace std; void sort_pop(int p[], int len); void se

原创 選擇和冒泡排序----根據數值排序

# include<stdio.h> #include<stdlib.h> # include<time.h> using namespace std; void select_sort(int p[], int len); voi

原创 鏈表排序---冒泡法按值排序

本文是繼上兩篇之後的博客:主要展示對鏈表中的數字,使用冒泡法進行排序; # include<stdio.h> # include<math.h> # include<stdlib.h> using namespace std; type

原创 鏈表尾插法

# include<stdio.h> # include<stdlib.h> using namespace std; typedef struct node { int data; struct node * next; }No

原创 鏈表之頭插法,尾插法,顯示,長度,查找位置(兩種),刪除

# include<stdio.h> # include<stdlib.h> using namespace std; typedef struct node { int data; struct node * next; }No

原创 大家共勉的文章

幾年前收藏的別人文章,放在這裏大家共勉 如果你已經過了20歲但還不到25歲的話,你必須找到除了愛情之外,能夠使你用雙腳堅強站在大地上的東西。你要找到謀生的方式。現在考慮不晚了。我從來不以爲學歷有什麼重要,天才都不是科班,但,不是科班,連龍