<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[小白Alex的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/github_36604701</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; github_36604701]]></copyright><item><title><![CDATA[TCP/IP 三次握手的代码笔记]]></title><link>https://blog.youkuaiyun.com/github_36604701/article/details/54586555</link><guid>https://blog.youkuaiyun.com/github_36604701/article/details/54586555</guid><author>github_36604701</author><pubDate>Tue, 17 Jan 2017 20:29:07 +0800</pubDate><description><![CDATA[//server
#include 
#include 
#include 
#include 
#include 
using namespace std;

char buf[512];
int nByte;

int main()
{
	//create socket
	int fd = 0;
	if((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0)
]]></description><category></category></item><item><title><![CDATA[C++改善_2016_11_28]]></title><link>https://blog.youkuaiyun.com/github_36604701/article/details/53373402</link><guid>https://blog.youkuaiyun.com/github_36604701/article/details/53373402</guid><author>github_36604701</author><pubDate>Mon, 28 Nov 2016 07:29:36 +0800</pubDate><description><![CDATA[#include 
using namespace std;

//rule04: Make sure that objects are initialized before they're used
//确定对象使用前已先被初始化

/*
对于无任何成员的内置类型，你必须手工完成此事
至于内置类型以外的任何其他东西。初始化责任落在构造函数身上。
规则很简单：确保每一个构造函数都将对象的每一个成员]]></description><category></category></item><item><title><![CDATA[C++改善_2016_11_23]]></title><link>https://blog.youkuaiyun.com/github_36604701/article/details/53315696</link><guid>https://blog.youkuaiyun.com/github_36604701/article/details/53315696</guid><author>github_36604701</author><pubDate>Thu, 24 Nov 2016 07:10:08 +0800</pubDate><description><![CDATA[//rule03: 尽可能使用const


//const,允许你指定一个“不该被改动 ”的对象
//编译器会帮你强制实施这个约束
//只要这是事实，你就该确实说出来，这样就能获得编译器的帮助，确保这个约束不被违反


//在STL中有两种case:
//1. 声明迭代器为const就像声明指针为const一样，表示这个迭代器不得指向不同的东西，但它所指的东西的值可以改动
s]]></description><category></category></item><item><title><![CDATA[C++顺序表]]></title><link>https://blog.youkuaiyun.com/github_36604701/article/details/53269183</link><guid>https://blog.youkuaiyun.com/github_36604701/article/details/53269183</guid><author>github_36604701</author><pubDate>Mon, 21 Nov 2016 23:21:06 +0800</pubDate><description><![CDATA[测试函数：
//最基本的数据结构之一是线性表
/*
如下特点：
1. 顺序表的内存空间是一连串的地址空间
2. 与数据需要一个唯一的数组名一样，顺序表也需要有一个唯一的数组名来表示
3. 数据在顺序表中按先后顺序排列，存取是可根据位置随机存取

*/

#include 
#include "Seqlist.cpp"
using namespace std;

int main()
{
	Seq]]></description><category></category></item><item><title><![CDATA[C++改善_2016_11_21]]></title><link>https://blog.youkuaiyun.com/github_36604701/article/details/53262305</link><guid>https://blog.youkuaiyun.com/github_36604701/article/details/53262305</guid><author>github_36604701</author><pubDate>Mon, 21 Nov 2016 18:39:56 +0800</pubDate><description><![CDATA[Rule 01: 视C++为一个语言联邦： 1. C
2. Object-Oriented C++
3. Template C++
4. STL
Rule 02: 尽量以const, enum, inline替换 #define
//宁可以编译器替换预处理器
/*
#define ASPECT_RATIO 1.653
const double AspectRatio = 1.653;
*]]></description><category></category></item><item><title><![CDATA[程序猿的C++小笔记]]></title><link>https://blog.youkuaiyun.com/github_36604701/article/details/53163680</link><guid>https://blog.youkuaiyun.com/github_36604701/article/details/53163680</guid><author>github_36604701</author><pubDate>Mon, 14 Nov 2016 20:09:58 +0800</pubDate><description><![CDATA[1. size_t 只是一个typedef, 是c++计算个数时用的某种不带正负号的（unsigned）类型。它也是vector, deque和string内的operator[ ]函数接受的参数类型。
2. explicit 可阻止被用来执行隐式类型转换（implicit type conversions), 但仍可被用来进行显式类型转换（explicit type conversions）]]></description><category></category></item><item><title><![CDATA[linux学习之<dirent.h>]]></title><link>https://blog.youkuaiyun.com/github_36604701/article/details/53086791</link><guid>https://blog.youkuaiyun.com/github_36604701/article/details/53086791</guid><author>github_36604701</author><pubDate>Tue, 08 Nov 2016 20:04:55 +0800</pubDate><description><![CDATA[#include 
//Linux 下遍历目录的方法,linux下的头文件
//打开目录=》读取=》关闭目录
//相关函数
//opendir=>readdir=>closedir

//部分参考源码
/*
DIR *opendir(const char dirname)

struct dirent *readdir(DIR *dp)

int close(DIR *dp)

struct di]]></description><category></category></item><item><title><![CDATA[我的C/C++库理解之memchr]]></title><link>https://blog.youkuaiyun.com/github_36604701/article/details/53078532</link><guid>https://blog.youkuaiyun.com/github_36604701/article/details/53078532</guid><author>github_36604701</author><pubDate>Tue, 08 Nov 2016 07:06:14 +0800</pubDate><description><![CDATA[#include 
#include 

//原型
//void *memchr(const void *str, int c, size_t n)
// 搜索参数str指向的字符串的前n个字节中第一次出现的字符c（unsigned char类型）。

void  *Alex_memchr(const void *str, int c, size_t n);
int main()
{
	const]]></description><category></category></item><item><title><![CDATA[我的C/C++库理解之memcpy]]></title><link>https://blog.youkuaiyun.com/github_36604701/article/details/53026364</link><guid>https://blog.youkuaiyun.com/github_36604701/article/details/53026364</guid><author>github_36604701</author><pubDate>Thu, 03 Nov 2016 21:37:54 +0800</pubDate><description><![CDATA[#include 
#include 
#include 
#include 

using namespace std;

//  void * memcpy ( void * dest, const void * src, size_t num )


void * Alex_memcpy(void *dest, const void * src, size_t num);

int main]]></description><category></category></item><item><title><![CDATA[我的C/C++库理解之strrchr]]></title><link>https://blog.youkuaiyun.com/github_36604701/article/details/53025129</link><guid>https://blog.youkuaiyun.com/github_36604701/article/details/53025129</guid><author>github_36604701</author><pubDate>Thu, 03 Nov 2016 20:12:48 +0800</pubDate><description><![CDATA[#include  
#include 
#include 

using namespace std;

//char * strrchr(const char*, int)
//return the last pointer of the 
char * Alex_strrchr(const char * str, int ch );


int main()
{
	char str[] = ]]></description><category></category></item></channel></rss>