自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

拉倒风的昵称的博客

正在读书的小白一枚

  • 博客(4)
  • 收藏
  • 关注

原创 对数器验证排序算法的正确性

sort.h  #ifndef SORT_H #define SORT_H class Sort { private: int TestTime; int MaxSize; int MaxValue; int ArrayLength; public: void Test(); void SetValue(int,int,int); void PrintArray(int[]);...

2019-01-25 14:26:41 274 1

原创 查找算法代码实现

二分搜索 #include <iostream> using namespace std; int binarySearch(int arr[], int length,int n) { int left = 0; int right = length - 1; while (left<=right) { int mid = left+(right-left)...

2018-11-07 15:33:40 194

原创 排序算法代码

冒泡排序 #include <iostream> using namespace std; void BubbleSort(int arr[8]) { int count = 1; for (int j = 7; j != 0; j--) { for (int i = 0; i != j; i++) { if (arr[i] > arr[i + 1]) {...

2018-11-05 17:57:39 134

原创 C++实现socket通信,客户端向服务端发送文件(视频,图片)

第一发博客,写项目时需要客户端向服务端发送图片,视频,网上找了很多,都不是自己想要的,于是自己写了一个,可能有很多问题,求打佬轻喷,主要参考了《windows网络编程基础教程》(杨传栋,张焕远编)这本书。服务端:/** @anthor :Aaron 2018年6月27日 */ #include <iostream> #include <fstream> #inc...

2018-06-27 16:08:45 7799 3

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除