锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久丫忘忧草产品,久久人人爽人人人人片av,久久久久久久女国产乱让韩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



]]>
欧美成人免费观看久久| 99re这里只有精品热久久| 人人狠狠综合久久亚洲| 久久久久一本毛久久久| 亚洲精品乱码久久久久久按摩| 99久久国产综合精品麻豆| 久久综合伊人77777麻豆| …久久精品99久久香蕉国产 | 婷婷久久五月天| 国产精品免费福利久久| 理论片午午伦夜理片久久| 91精品国产91久久久久福利| 精品久久久一二三区| 国产高清美女一级a毛片久久w| 77777亚洲午夜久久多喷| 精品无码久久久久久久久久| 性色欲网站人妻丰满中文久久不卡| 99国内精品久久久久久久| 久久精品国产亚洲av高清漫画| 久久精品99无色码中文字幕| 99久久99这里只有免费费精品| 2019久久久高清456| 久久久国产一区二区三区| 日本精品久久久久中文字幕| 久久精品国产亚洲AV电影| 亚洲国产精品无码久久一区二区| 久久久久久青草大香综合精品| 亚洲国产精品婷婷久久| 97久久久久人妻精品专区| 久久久久无码精品国产| 亚洲国产精品无码久久久不卡| 久久久久久久97| 久久这里的只有是精品23| 伊人久久一区二区三区无码| 色婷婷久久综合中文久久一本| 国产99久久久国产精品~~牛| 久久se精品一区精品二区| 国产精品久久午夜夜伦鲁鲁| 国产精品天天影视久久综合网| 国内精品久久久久久久97牛牛| AV无码久久久久不卡蜜桃|