<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/KeithCollens</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; KeithCollens]]></copyright><item><title><![CDATA[c++ multi-thread environment config]]></title><link>https://blog.youkuaiyun.com/KeithCollens/article/details/9283579</link><guid>https://blog.youkuaiyun.com/KeithCollens/article/details/9283579</guid><author>KeithCollens</author><pubDate>Tue, 09 Jul 2013 17:16:22 +0800</pubDate><description><![CDATA[1. eclipse classic
2. CDT    install whatever will cause the dependency problem
3. MinGW.           remember to set env variable     add C:\MinGW\bin to Path
3. subclipse
4. git 
     1. generate]]></description><category></category></item><item><title><![CDATA[Two's Complement]]></title><link>https://blog.youkuaiyun.com/KeithCollens/article/details/8241718</link><guid>https://blog.youkuaiyun.com/KeithCollens/article/details/8241718</guid><author>KeithCollens</author><pubDate>Fri, 30 Nov 2012 00:59:11 +0800</pubDate><description><![CDATA[1. Concept of Two's Complement ,see wiki http://en.wikipedia.org/wiki/Two's_complement.
    a. 补码有两层意思：一个数的补码（2^N - x）和一个数的补码表示（正数的补码，负数的补码）
    b. Most Significant Bit 有两层意思，一是表示正负；二是本身也有权重，为-2^(N-]]></description><category></category></item><item><title><![CDATA[Linux 多线程函数解析]]></title><link>https://blog.youkuaiyun.com/KeithCollens/article/details/7318980</link><guid>https://blog.youkuaiyun.com/KeithCollens/article/details/7318980</guid><author>KeithCollens</author><pubDate>Sun, 04 Mar 2012 22:03:28 +0800</pubDate><description><![CDATA[Linux多线程函数解析
Linux多线程函数用得比较多的是下面的3个
pthread_create(),pthread_exit(),pthread_join(); 它们都是在头文件之中。编译时需要加静态库-lpthread

下面是函数的说明：pthread_create是UNIX环境创建线程函数
int pthread_create(
pthread_t *restrict ti]]></description><category></category></item><item><title><![CDATA[子类对象初始化过程中构造函数调用的若干规则]]></title><link>https://blog.youkuaiyun.com/KeithCollens/article/details/7318926</link><guid>https://blog.youkuaiyun.com/KeithCollens/article/details/7318926</guid><author>KeithCollens</author><pubDate>Sun, 04 Mar 2012 21:46:34 +0800</pubDate><description><![CDATA[1.如果父类中没有构造函数，即使用默认的构造函数，那子类的构造函数会自动调用父类的构造函数
class Father
{
	private int a,b;
	void show()
	{
		System.out.println(a);
	}
}

class Son extends Father
{
	private int c,d;
	Son(int c, int d)
	{
		this]]></description><category></category></item><item><title><![CDATA[子类对象初始化顺序]]></title><link>https://blog.youkuaiyun.com/KeithCollens/article/details/7318824</link><guid>https://blog.youkuaiyun.com/KeithCollens/article/details/7318824</guid><author>KeithCollens</author><pubDate>Sun, 04 Mar 2012 21:11:49 +0800</pubDate><description><![CDATA[初始化顺序：父类静态变量—>父类静态代码块—>子类静态变量—>子类静态代码块—>父类非静态变量—>父类非静态代码块—>父类构造方法—>子类非静态变量—>子类非静态代码块—>子类构造方法。
class Father
{
	private static int fs=10;
	static
	{
		System.out.println("1.父类静态变量fs="+fs);
		System.out]]></description><category></category></item><item><title><![CDATA[Java类继承：父与子的恩恩怨怨]]></title><link>https://blog.youkuaiyun.com/KeithCollens/article/details/7318798</link><guid>https://blog.youkuaiyun.com/KeithCollens/article/details/7318798</guid><author>KeithCollens</author><pubDate>Sun, 04 Mar 2012 21:05:56 +0800</pubDate><description><![CDATA[Rule 0: 子必有其父。 也就是说当一个子类在被构造的过程当中，必先构造了一个父类！从内存角度上讲，子类的内存当中含有父类的一切属性和方法，无论是public protected，还是private。这里值得说一下就是父类的private的属性和方法，子类是完全继承下来了，内存当中全部都有，只是没有访问权限（但是可以通过public
 protected方法间接访问：私有属性与私有方法，只能]]></description><category></category></item><item><title><![CDATA[printf]]></title><link>https://blog.youkuaiyun.com/KeithCollens/article/details/6672531</link><guid>https://blog.youkuaiyun.com/KeithCollens/article/details/6672531</guid><author>KeithCollens</author><pubDate>Tue, 09 Aug 2011 15:03:38 +0800</pubDate><description><![CDATA[简述C语言格式化字符用法]]></description><category></category></item><item><title><![CDATA[strlen]]></title><link>https://blog.youkuaiyun.com/KeithCollens/article/details/6662202</link><guid>https://blog.youkuaiyun.com/KeithCollens/article/details/6662202</guid><author>KeithCollens</author><pubDate>Fri, 05 Aug 2011 10:37:21 +0800</pubDate><description><![CDATA[转自陈莉君专栏 《试炼基本功（二）》


在上文中提到strlen()函数，最简单的实现应当如下：
size_t strlen(const char *psrc)
{
     size_t  length ;


    for (length = 0; *p]]></description><category></category></item></channel></rss>