<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[wu1373369的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/wu1373369</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; wu1373369]]></copyright><item><title><![CDATA[二维数组与二级指针]]></title><link>https://blog.youkuaiyun.com/wu1373369/article/details/6956434</link><guid>https://blog.youkuaiyun.com/wu1373369/article/details/6956434</guid><author>wu1373369</author><pubDate>Thu, 10 Nov 2011 15:44:01 +0800</pubDate><description><![CDATA[好像是上次因为这个问题出错了，后来编写了N次测试程序才搞明白了。当时记在本上，今天搬上来。
==========================================================================================
二维数组名为一个二级指针类型。
int a[2][2]; a的内存结构如下：




addr
000
0]]></description><category></category></item><item><title><![CDATA[qt configure 配置不完全汉化 ]]></title><link>https://blog.youkuaiyun.com/wu1373369/article/details/5691811</link><guid>https://blog.youkuaiyun.com/wu1373369/article/details/5691811</guid><author>wu1373369</author><pubDate>Thu, 24 Jun 2010 16:01:00 +0800</pubDate><description><![CDATA[<br />来源：http://blog.chinaunix.net/u2/78300/showart_1866989.html<br />Usage:  configure [options]<br />The defaults (*) are usually acceptable. A plus (+) denotes a default value that needs to be evaluated. If the evaluation succeeds, the feature is includ]]></description><category></category></item><item><title><![CDATA[sscanf函数]]></title><link>https://blog.youkuaiyun.com/wu1373369/article/details/4857171</link><guid>https://blog.youkuaiyun.com/wu1373369/article/details/4857171</guid><author>wu1373369</author><pubDate>Mon, 23 Nov 2009 15:59:00 +0800</pubDate><description><![CDATA[来源：http://user.qzone.qq.com/86141828?ptlang=2052 大家都知道sscanf是一个很好用的函数，利用它可以从字符串中取出整数、浮点数和字符串等等。它的使用方法简单，特别对于整数和浮点数来说。但新手可能并不知道处理字符串时的一些高级用法，这里做个简要说明吧。1. 常见用法。char str[512] = {0};sscanf("123456 "]]></description><category></category></item><item><title><![CDATA[C语言在8051单片机上的扩展（interrupt、using关键字的用法）]]></title><link>https://blog.youkuaiyun.com/wu1373369/article/details/4718085</link><guid>https://blog.youkuaiyun.com/wu1373369/article/details/4718085</guid><author>wu1373369</author><pubDate>Fri, 23 Oct 2009 14:04:00 +0800</pubDate><description><![CDATA[scr:  http://blog.sina.com.cn/s/blog_46c081e101009tr4.htmlC语言在8051单片机上的扩展（interrupt、using关键字的用法）直接访问寄存器和端口定义sfr     P0 0x80       sfr     P1 0x81       sfr     ADCON; 0xDE       sbit EA     ]]></description><category></category></item><item><title><![CDATA[IPsec&PF_KEY]]></title><link>https://blog.youkuaiyun.com/wu1373369/article/details/4539468</link><guid>https://blog.youkuaiyun.com/wu1373369/article/details/4539468</guid><author>wu1373369</author><pubDate>Thu, 10 Sep 2009 15:57:00 +0800</pubDate><description><![CDATA[来源：http://zh.wikipedia.org/wiki/IPsec IPsec（缩写Internet Protocol Security ）,以IP Packet（小包）为单位对信息进行暗号化的方式，来对传输途中的信息包进行加密或者防止遭到篡改的一种协议（Protocol）。是保护IP协议安全通信的标准，它主要对IP协议分组进行加密和认证。IPsec作为一个]]></description><category></category></item><item><title><![CDATA[devfs,sysfs]]></title><link>https://blog.youkuaiyun.com/wu1373369/article/details/4537756</link><guid>https://blog.youkuaiyun.com/wu1373369/article/details/4537756</guid><author>wu1373369</author><pubDate>Thu, 10 Sep 2009 09:31:00 +0800</pubDate><description><![CDATA[一、devfs        linux下有专门的文件系统用来对设备进行管理，devfs和sysfs就是其中两种。 在2.6内核以前一直使用的是devfs，devfs挂载于/dev目录下，提供了一种类似于文件的方法来管理位于/dev目录下的所有设备，我们知道/dev目录下的每一个文件都对应的是一个设备，至于当前该设备存在与否先且不论，而且这些特殊文件是位于根文件系统上的，在制作文件]]></description><category></category></item><item><title><![CDATA[ubuntu安装Fcitx]]></title><link>https://blog.youkuaiyun.com/wu1373369/article/details/4534165</link><guid>https://blog.youkuaiyun.com/wu1373369/article/details/4534165</guid><author>wu1373369</author><pubDate>Wed, 09 Sep 2009 09:48:00 +0800</pubDate><description><![CDATA[http://wiki.ubuntu.org.cn/index.php?title=%E4%B8%AD%E6%96%87%E8%BE%93%E5%85%A5%E6%B3%95fcitx&variant=zh-cn安装Fcitx sudo apt-get install im-switch fcitx sudo im-switch -s fcitx -z defaultim-]]></description><category></category></item><item><title><![CDATA[malloc的 free]]></title><link>https://blog.youkuaiyun.com/wu1373369/article/details/4038727</link><guid>https://blog.youkuaiyun.com/wu1373369/article/details/4038727</guid><author>wu1373369</author><pubDate>Tue, 31 Mar 2009 15:00:00 +0800</pubDate><description><![CDATA[这两天在做练习，有几个错误，写下来，方便以后看！1， 调 malloc 后没有 free ，完全中了老师的着了！如果是服务器程序的话就会造成内存泄露，因为这块空间系统使用不了了，自己又已经没用了！还有 fopen 后要fclose，fopen 一定检查打开是否成功！2， 这个错误我找了好久，小堆法或大堆法（优先队列），malloc 分配数组后，下标从 1 开始（这样使用起来比较方便），方法]]></description><category></category></item><item><title><![CDATA[A example of pointer]]></title><link>https://blog.youkuaiyun.com/wu1373369/article/details/4005454</link><guid>https://blog.youkuaiyun.com/wu1373369/article/details/4005454</guid><author>wu1373369</author><pubDate>Thu, 19 Mar 2009 18:51:00 +0800</pubDate><description><![CDATA[ 1 #include   2   3 typedef struct test * p_t;  4   5 struct test{char a, b, c,d;};  6   7 int main(void)  8 {  9     int a = 0x12345678; 10  11     printf("a: %x, b: %x, c: %x, d: %x/n", ((p_t)&a)->a]]></description><category></category></item><item><title><![CDATA[A wrong example of pointer]]></title><link>https://blog.youkuaiyun.com/wu1373369/article/details/4005421</link><guid>https://blog.youkuaiyun.com/wu1373369/article/details/4005421</guid><author>wu1373369</author><pubDate>Thu, 19 Mar 2009 18:36:00 +0800</pubDate><description><![CDATA[char ch;void f(char *p){p = &ch;} int main(void){    char *p = (char *)0x0;    f(p);    *p = a;    putchar(*p);    return 0;}//-------the right function-------//--void f(char *]]></description><category></category></item><item><title><![CDATA[指针之前的]]></title><link>https://blog.youkuaiyun.com/wu1373369/article/details/4005334</link><guid>https://blog.youkuaiyun.com/wu1373369/article/details/4005334</guid><author>wu1373369</author><pubDate>Thu, 19 Mar 2009 17:58:00 +0800</pubDate><description><![CDATA[int num[32] = {1};       只能给num[0]赋“1”，其于还的还是0。 char *p = "hello world";*p = a;    段错误：常量"hello world" 存在 .rodata 只读数据段。 全局变量：先定义的为低地址。局部变量：先定义的为高地址。 struct test var;struct tse]]></description><category></category></item></channel></rss>