锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲欧洲视频在线,欧美日本在线观看,午夜精品一区二区三区在线http://m.shnenglu.com/scorpio/category/19469.htmlzh-cnThu, 01 Nov 2012 11:01:32 GMTThu, 01 Nov 2012 11:01:32 GMT60VI鍗佸叚榪涘埗妯″紡姝e父妯″紡鍒囨崲http://m.shnenglu.com/scorpio/archive/2012/10/31/163776.htmlApollo FangApollo FangWed, 31 Oct 2012 09:16:00 GMThttp://m.shnenglu.com/scorpio/archive/2012/10/31/163776.htmlhttp://m.shnenglu.com/scorpio/comments/163776.htmlhttp://m.shnenglu.com/scorpio/archive/2012/10/31/163776.html#Feedback0http://m.shnenglu.com/scorpio/comments/commentRss/163776.htmlhttp://m.shnenglu.com/scorpio/services/trackbacks/163776.htmlVIM鏄劇ず鍗佸叚榪涘埗鐨勬柟娉? %!xxd
VIM鍥炲姝e父鏄劇ず鏂規硶- %!xxd -r

]]>
What is "##" string in C codehttp://m.shnenglu.com/scorpio/archive/2012/06/08/177471.htmlApollo FangApollo FangFri, 08 Jun 2012 02:42:00 GMThttp://m.shnenglu.com/scorpio/archive/2012/06/08/177471.htmlhttp://m.shnenglu.com/scorpio/comments/177471.htmlhttp://m.shnenglu.com/scorpio/archive/2012/06/08/177471.html#Feedback0http://m.shnenglu.com/scorpio/comments/commentRss/177471.htmlhttp://m.shnenglu.com/scorpio/services/trackbacks/177471.htmlSee code below(quoting ffmpeg source code)
 1 #define REGISTER_MUXER(X,x) { \
 2     extern AVOutputFormat x##_muxer; \
 3     if(CONFIG_##X##_MUXER) av_register_output_format(&x##_muxer); }
 4 #define REGISTER_DEMUXER(X,x) { \
 5     extern AVInputFormat x##_demuxer; \
 6     if(CONFIG_##X##_DEMUXER) av_register_input_format(&x##_demuxer); }
 7 #define REGISTER_MUXDEMUX(X,x)  REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)
 8 #define REGISTER_PROTOCOL(X,x) { \
 9     extern URLProtocol x##_protocol; \
10     if(CONFIG_##X##_PROTOCOL) av_register_protocol2(&x##_protocol, sizeof(x##_protocol)); }

"##" string in C language code is used for concatenating the two strings which is before and behind it  in a macros definition.
See a test code below :
1 #define DEFINE(t, x)  {t x##_##t;}
3 int main()
4 {
5     DEFINE(int, vvv);
6     return 0;
7 }

Use "gcc -E test_sharpsharp.c -o test_sharpsharp.i" command to pre-process this file
And the output file "test_sharpsharp.i" just looks like below :
1 int main()
2 {
3     {int vvv_int;};
4     return 0;
5 }

The code below is useful, and you can use "##" macro definitions to realize sample templates with C language
1 #define REGISTER_DATA_COMPARE(x)\
2     static __inline x x##_compare(x key1, x key2)\
3     {\
4         if (key1 > key2) return 1;\
5         if (key1 < key2) return -1;\
6         return 0;\
7     }
In this way, you can realize a data comparing function set, when you need comparing some type of data, just register it.


]]>
How to update or install pthread manual reference on Linuxhttp://m.shnenglu.com/scorpio/archive/2011/10/27/159215.htmlApollo FangApollo FangThu, 27 Oct 2011 05:28:00 GMThttp://m.shnenglu.com/scorpio/archive/2011/10/27/159215.htmlhttp://m.shnenglu.com/scorpio/comments/159215.htmlhttp://m.shnenglu.com/scorpio/archive/2011/10/27/159215.html#Feedback0http://m.shnenglu.com/scorpio/comments/commentRss/159215.htmlhttp://m.shnenglu.com/scorpio/services/trackbacks/159215.html    If you want to install the manual reference about pthread, execute the following command:
    
    sudo apt-get install glibc-doc
    sudo apt-get install manpages-posix-dev


]]>
How To Disable "_CRT_SECURE_NO_WARNINGS" Warningshttp://m.shnenglu.com/scorpio/archive/2011/10/25/159059.htmlApollo FangApollo FangTue, 25 Oct 2011 09:26:00 GMThttp://m.shnenglu.com/scorpio/archive/2011/10/25/159059.htmlhttp://m.shnenglu.com/scorpio/comments/159059.htmlhttp://m.shnenglu.com/scorpio/archive/2011/10/25/159059.html#Feedback0http://m.shnenglu.com/scorpio/comments/commentRss/159059.htmlhttp://m.shnenglu.com/scorpio/services/trackbacks/159059.html    While you using MS Visual Studio, there are always "_CRT_SECURE_NO_WARNINGS" warnings appeared, like bellow:

   "warning C4996: 'strerror': This function or variable may be unsafe. Using strerror_s instead."

    How to disable this kind deprecation? Do like bellow (VS2010):

    Project -> Properties -> Configuration Properties -> C++ -> Processor -> Processor Definitions

    And then add a macro definition "_CRT_SECURE_NO_WARNINGS", and use a ";" to separated with others

    OK, Hit OK and enjoy the silence...


Tuesday, October 25, 2011



]]>
99久久久久| 亚洲AV无码1区2区久久 | 国产精品久久久久久久app | 97久久超碰国产精品2021| 99久久久久| 亚洲精品乱码久久久久久| 99热都是精品久久久久久| 亚洲精品无码久久千人斩| 18岁日韩内射颜射午夜久久成人| 亚洲国产精品成人久久蜜臀 | 99久久亚洲综合精品成人| 久久只有这里有精品4| 精品久久久久久久久久中文字幕| 少妇内射兰兰久久| 久久久久久久女国产乱让韩| 热99re久久国超精品首页| 99蜜桃臀久久久欧美精品网站| 久久精品成人欧美大片| av国内精品久久久久影院| 久久人妻无码中文字幕| 一本久久综合亚洲鲁鲁五月天| 久久精品国产精品青草| 国内精品人妻无码久久久影院| AV无码久久久久不卡蜜桃| 国内精品久久国产| 久久久久久亚洲精品影院| 一本一本久久a久久精品综合麻豆| 亚洲国产精久久久久久久| 国产精品久久网| 精品国产热久久久福利| 国内精品久久久久久麻豆 | 99久久伊人精品综合观看| 久久久九九有精品国产| 久久国产精品国产自线拍免费| 久久一日本道色综合久久| 人妻精品久久无码区| 99999久久久久久亚洲| 精品综合久久久久久97超人 | 久久综合给久久狠狠97色| 久久99精品国产麻豆| 99久久er这里只有精品18|