自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (5)
  • 问答 (2)
  • 收藏
  • 关注

原创 Win32实现简单的TCP连接

服务器端#include#includevoid main(){WORD wVersionRequested;WSADATA wsaData;int err;wVersionRequested=MAKEWORD(1,1);err = WSAStartup(wVersionRequested,&wsaData);if(err!=0){ return;}if(LOBYTE(w

2014-11-26 19:32:13 1501

原创 MFC实现鼠标跟踪画直线

#include class CMyApp:public CWinApp{public: virtual BOOL InitInstance();};class CMainWindow:public CFrameWnd{protected: BOOL m_bTracking; BOOL m_bCaptureEnabled; CPoint m_ptFrom; CPoint m_p

2014-11-25 15:14:37 1518

原创 C++链表插入排序

#includeusing namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; ListNode *insertionSortList(ListNode *head) { if(head==N

2014-11-14 15:21:13 802 1

原创 C++随机选择算法

#include#include#include #include using namespace std;int partition (int A[],int p,int r){int x=A[r];int i=p-1;for(int j=p;j<r;j++){ if(A[j]<=x){ i++; swap(A[i],A[j]); } }swap

2014-11-07 15:16:33 1697

原创 leetcode Reverse Words in a String

Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.Clarification:What constitutes

2014-11-05 20:24:43 973

原创 C++桶排序

#include#includeusing namespace std;class A{public:int length;vector a;};void insertSort(vector &b){ int size = b.size(); int key,i; for(int j=1;j<size;j++){ key=b[j]; i=j-1; while(i>

2014-11-04 16:57:57 429

原创 C++实现的单例

想象有个SceneManager(很多3D引擎中changyou)

2014-11-04 16:01:39 340

原创 C++创建最大堆

#include#include#includeusing namespace std;class Heap{public: int heap_size; vector heap; void maxHeap(vector&heap,int i); void buildMaxHeap(vector&heap);};void Heap::maxHeap(vector&heap,i

2014-11-04 12:30:12 1043

spring-data-elasticsearch api 离线文档

spring-data-elasticsearch api 离线文档, spring-data-elasticsearch2.0.2spring-data-elasticsearch api spring-data-elasticsearch api 离线文档

2017-09-08

real time rendering 第三版高清彩色

real time rendering 第三版高清彩色

2015-07-30

HLSL Development Cookbook源代码

从网上淘来的HLSL Development Cookbook的源代码

2014-07-07

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

TA关注的人

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