<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[fengchuiye的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/fengchuiye</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; fengchuiye]]></copyright><item><title><![CDATA[stagefright与opencore对比]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/25156397</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/25156397</guid><author>fengchuiye</author><pubDate>Tue, 06 May 2014 19:06:00 +0800</pubDate><description><![CDATA[stagefright与opencore对比(转)

1引言
Android froyo版本多媒体引擎做了变动，新添加了stagefright框架，并且默认情况android选择stagefright，弃用之前的opencore，仅仅对opencore中的omx-component部分做了引用。
Stagefright自android2.0后才添加，其稳定性有待商榷，是否存在bug也未知，]]></description><category></category></item><item><title><![CDATA[动态库的静态和动态加载方法]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/8613736</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/8613736</guid><author>fengchuiye</author><pubDate>Tue, 26 Feb 2013 15:25:23 +0800</pubDate><description><![CDATA[Linux 环境:
1. 动态加载：头文件 #include 
    流程：（1）//获取库句柄
                       HANDLE hModule = dlopen(szPath, RTLD_LAZY);    
               （2）//获取函数地址
                       typedef void(*Fun)(param]]></description><category></category></item><item><title><![CDATA[动态库之全局对象、静态对象]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/7412966</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/7412966</guid><author>fengchuiye</author><pubDate>Fri, 30 Mar 2012 20:41:55 +0800</pubDate><description><![CDATA[我们都知道，全局对象是相对局部对象、静态对象而言的，具体的定义如下：
局部对象就是只在局部使用比如在函数里，复合语句里，出了局部环境就不存在了。  
静态对象分为静态全局对象和静态局部对象：静态局部对象和局部对象的用法类似，但其在退出整个程序时，才消失，不象局部对象出了局部环境就不存在了；静态全局对象只在其申明的文件内是全局的，其它文件不能访问，其也是退出整个程序时，才消失。
全局对象对整个]]></description><category></category></item><item><title><![CDATA[检测内存泄露的工具]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/7406001</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/7406001</guid><author>fengchuiye</author><pubDate>Thu, 29 Mar 2012 10:28:23 +0800</pubDate><description><![CDATA[检测内存泄露的工具：debugnew
http://dev.youkuaiyun.com/article/58/58407.shtm

网上有一个流传甚广的检测内存泄露的工具：debugnew(debugnew.h/debugnew.cpp)
用法很简单，把debugnew.cpp放在项目里一起编译，需要检测的文件把debugnew.h嵌在文件的最前面。

为方便使用，对源代码做了一些小的改动。]]></description><category></category></item><item><title><![CDATA[Android智能指针sp wp详解]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/7349522</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/7349522</guid><author>fengchuiye</author><pubDate>Tue, 13 Mar 2012 16:33:35 +0800</pubDate><description><![CDATA[转自：http://www.linuxidc.com/Linux/2011-03/33674.htm
研究android的时候，经常会遇到sp、wp的东西，网上一搜，原来是android封装了c++中对象回收机制。
说明：
1. 如果一个类想使用智能指针，那么必须满足下面两个条件：
    a. 该类是虚基类RefBase的子类或间接子类
    b. 该类必须定义虚构造函数。如virt]]></description><category></category></item><item><title><![CDATA[doc]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/7263971</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/7263971</guid><author>fengchuiye</author><pubDate>Thu, 16 Feb 2012 12:21:18 +0800</pubDate><description><![CDATA[一个程序员的创业历程  http://zouhui.blog.51cto.com/3827922/775880]]></description><category></category></item><item><title><![CDATA[很有用的资源]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6928609</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6928609</guid><author>fengchuiye</author><pubDate>Wed, 02 Nov 2011 15:17:37 +0800</pubDate><description><![CDATA[关于 C++，系统，界面开发： 
http://www.cnblogs.com/lzjsky/archive/2010/09/08/1821529.html]]></description><category></category></item><item><title><![CDATA[Building PWLib on Windows]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6894280</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6894280</guid><author>fengchuiye</author><pubDate>Fri, 21 Oct 2011 16:03:46 +0800</pubDate><description><![CDATA[Building PWLib on Windows
Craig Southeren
Last updated 9 Feb 2007



Contents



          
1. Introduction



          
2. Prequisites


          
3. Download and install the PW]]></description><category></category></item><item><title><![CDATA[opal ptlib 的编译 和分析]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6893996</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6893996</guid><author>fengchuiye</author><pubDate>Fri, 21 Oct 2011 14:54:16 +0800</pubDate><description><![CDATA[VS2008下编译ptlib和opal
Opal作为SIP协议栈和新的H323协 议栈，而且以原来的确openh323开发人员为班底，在VoIP当 有很大的潜力，由于早期研究过一些openh323，现在更喜欢SIP协 议，所以初次下载来编译看看。
    环 境是：windows
 xp sp2加上VS2008TeamSuite版
1        下载ptlib和opal
ptlib下]]></description><category></category></item><item><title><![CDATA[论C++构造函数中的不合理设计]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6862195</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6862195</guid><author>fengchuiye</author><pubDate>Tue, 11 Oct 2011 11:54:53 +0800</pubDate><description><![CDATA[在C++中，构造函数是一个在构件对象的时候调用的特殊的函数，其目的是对对象进行初始化的工作，从而使对象被使用之前可以处于一种合理的状态。但是，构造函数的设计并不完美，甚至有些不合理的特性。比如说，限定构造函数名称与类的名称相同的条件。这些特性在构造C++编译器的时候是值得引起注意]]></description><category></category></item><item><title><![CDATA[跟我一起写 Makefile]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6861676</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6861676</guid><author>fengchuiye</author><pubDate>Tue, 11 Oct 2011 10:28:20 +0800</pubDate><description><![CDATA[概述
——

什么是makefile？或许很多Winodws的程序员都不知道这个东西，因为那些Windows的IDE都为你做了这个工作，但我觉得要作一个好的和professional的程序员，makefile还是要懂。这就好像现在有这么多的HTML的编辑器，但如果你想成为一]]></description><category></category></item><item><title><![CDATA[ubuntu 9.10安装后配置全攻略(不断更新中)-root登录 vi配置修复 apt-get源 字体修改 输入法 NetBeans乱码]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6861166</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6861166</guid><author>fengchuiye</author><pubDate>Tue, 11 Oct 2011 02:33:31 +0800</pubDate><description><![CDATA[ubuntu 9.10安装后配置全攻略(不断更新中)-root登录 vi配置修复 apt-get源 字体修改 输入法 NetBeans乱码


新装了Ubuntu9.10，为了更好的使用Ubuntu，需要对其进行更好的配置。
———————————————————————]]></description><category></category></item><item><title><![CDATA[在Linux里设置环境变量的方法（export PATH）]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6859273</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6859273</guid><author>fengchuiye</author><pubDate>Mon, 10 Oct 2011 15:06:12 +0800</pubDate><description><![CDATA[一般来说，配置交叉编译工具链的时候需要指定编译工具的路径，此时就需要设置环境变量。例如我的mips-linux-gcc编译器在“/opt/au1200_rm/build_tools/bin”目录下，build_tools就是我的编译工具，则有如下三种方法来设置环境变量：
---]]></description><category></category></item><item><title><![CDATA[makefile和Makefile是等效的]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6857617</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6857617</guid><author>fengchuiye</author><pubDate>Mon, 10 Oct 2011 02:03:17 +0800</pubDate><description><![CDATA[makefile和Makefile是等效的
$mv makefile Makefile
$make
gcc -c main.c
gcc -c liu.c
gcc -c generatedatafile.c
gcc -g main.o liu.o generatedat]]></description><category></category></item><item><title><![CDATA[gcc/g++ 编译器使用简介（包含交叉编译器）]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6857616</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6857616</guid><author>fengchuiye</author><pubDate>Mon, 10 Oct 2011 02:01:08 +0800</pubDate><description><![CDATA[GNU CC(简称gcc)是GNU项目中符合ANSI C标准的编译系统，能够编译用C、C++、Object
 C、Jave等多种语言编写的程序。gcc又可以作为交叉编译工具，它能够在当前CPU平台上为多种不同体系结构的硬件平台开发软件，非常适合在嵌入式领域的开发编译，如常用的a]]></description><category></category></item><item><title><![CDATA[Linux 下的 gcc, g++ 编译器]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6856486</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6856486</guid><author>fengchuiye</author><pubDate>Sun, 09 Oct 2011 17:33:18 +0800</pubDate><description><![CDATA[Linux自带GCC   和   g++的 

GCC参数详解   

gcc   and   g++分别是gnu的c   &   c++编译器   

gcc/g++在执行编译工作的时候，总共需要4步   

1.预处理,生成.i的文件   
2.将预处理后的]]></description><category></category></item><item><title><![CDATA[文件操作 Q&A]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6828219</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6828219</guid><author>fengchuiye</author><pubDate>Tue, 27 Sep 2011 23:52:01 +0800</pubDate><description><![CDATA[1.Q:使用 fopen("文件路径"， "r") 打开音频文件，并用 fread 读取时，会发现文件不会被完全读取。 
    A：fopen 的第二个参数 mode ,除了在 MSDN 上列出的几种类型外，在打开非文本文件时，需要加上 b 字符。加入b 字符用来告诉函数库打]]></description><category></category></item><item><title><![CDATA[unix中的信号处理机制]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6828202</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6828202</guid><author>fengchuiye</author><pubDate>Tue, 27 Sep 2011 23:31:50 +0800</pubDate><description><![CDATA[中断处理是操作系统和系统软件的关键部分，Unix下的软件中断被称为信号，信号通常发生于以下3种情况：
　　（1）当用户按下终端驱动程序分配给信号控制字符的任何按键时，内核会向相应进程发送信号。例如我们常常通过输入Ctrl+C来终止前台进程，此时，就是由内核向该进程发送SIGIN]]></description><category></category></item><item><title><![CDATA[多进程，多线程在 Window 和 Unix 下的通信，同步与互斥]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6828197</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6828197</guid><author>fengchuiye</author><pubDate>Tue, 27 Sep 2011 23:30:32 +0800</pubDate><description><![CDATA[Window 环境：
1. 多进程通信：匿名管道，命名管道，共享内存，文件映射，邮件槽，剪贴板，动态数据交换，对象连接和嵌入，动态连接库，远程过程调用，NetBios函数，Sockets, WM_COPYDATA消息。
参考： 
http://www.cnblogs.com]]></description><category></category></item><item><title><![CDATA[【转】C++静态成员小结]]></title><link>https://blog.youkuaiyun.com/fengchuiye/article/details/6717446</link><guid>https://blog.youkuaiyun.com/fengchuiye/article/details/6717446</guid><author>fengchuiye</author><pubDate>Thu, 25 Aug 2011 10:33:06 +0800</pubDate><description><![CDATA[类中的静态成员真是个让人爱恨交加的特性。我决定好好总结一下静态类成员的知识点，以便自己在以后面试中，在此类问题上不在被动。 
静态类成员包括静态数据成员和静态函数成员两部分。 

一 静态数据成员： 

类体中的数据成员的声明前加上static关键字，该数据成员就成为了]]></description><category></category></item></channel></rss>