锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久久亚洲精品天堂久久久久久 ,亚洲国产成人久久精品影视,久久婷婷五月综合成人D啪http://www.shnenglu.com/scorpio/zh-cnWed, 07 May 2025 18:29:06 GMTWed, 07 May 2025 18:29:06 GMT60VI鍗佸叚榪涘埗妯″紡姝e父妯″紡鍒囨崲http://www.shnenglu.com/scorpio/archive/2012/10/31/163776.htmlApollo FangApollo FangWed, 31 Oct 2012 09:16:00 GMThttp://www.shnenglu.com/scorpio/archive/2012/10/31/163776.htmlhttp://www.shnenglu.com/scorpio/comments/163776.htmlhttp://www.shnenglu.com/scorpio/archive/2012/10/31/163776.html#Feedback0http://www.shnenglu.com/scorpio/comments/commentRss/163776.htmlhttp://www.shnenglu.com/scorpio/services/trackbacks/163776.htmlVIM鏄劇ず鍗佸叚榪涘埗鐨勬柟娉? %!xxd
VIM鍥炲姝e父鏄劇ず鏂規(guī)硶- %!xxd -r

]]>
RTMP鍗忚 - Chunkhttp://www.shnenglu.com/scorpio/archive/2012/10/31/194128.htmlApollo FangApollo FangWed, 31 Oct 2012 09:09:00 GMThttp://www.shnenglu.com/scorpio/archive/2012/10/31/194128.htmlhttp://www.shnenglu.com/scorpio/comments/194128.htmlhttp://www.shnenglu.com/scorpio/archive/2012/10/31/194128.html#Feedback0http://www.shnenglu.com/scorpio/comments/commentRss/194128.htmlhttp://www.shnenglu.com/scorpio/services/trackbacks/194128.htmlRtmp涓?涓涓狹essage閫氬父鏄垎鍓叉垚澶氫釜Chunk榪涜浼犺緭鐨?姣忎釜Chunk閫氬父鍖呭惈鏈?~12涓瓧鑺傜殑澶撮儴(璇ラ儴鍒嗕笌瀹屾暣鐨勫崗璁笉鏄崄鍒嗙鍚?.

Rtmp鏄熀浜嶵CP鍗忚鐨?鎵浠ュ湪Rtmp浼犺緭榪囩▼涓? Chunk澶撮儴浼氭牴鎹疄闄呮儏鍐典嬌鐢ㄧ畝鍖栫殑澶撮儴(12瀛楄妭鐨勫ご閮ㄦ槸瀹屾暣鐨勫ご閮?8/4/1瀛楄妭鐨勫ご閮ㄦ槸鏍規(guī)嵁瀹為檯鎯呭喌綆鍖栫殑).

. Chunk澶撮儴鐨勭畝鍖栬鍒?/span>

      璇存槑:浠ヤ笂鐨?------"涓?bit鐨凜hunkId

,鐨勭涓涓狢hunk澶撮儴閫氬父浣跨敤(00------)鏍煎紡,鍖呭惈瀹屾暣鐨勫ご閮ㄤ俊鎭?渚濇鍖呭惈:鏃墮棿鎴?Message闀垮害,Message綾誨瀷1B,StreamId1B. 榪欎簺淇℃伅鍦ㄧ▼搴忎腑鏄渶瑕佷繚鐣欑殑.浠ヤ究鍚庨潰綆鍖栫殑澶撮儴,鍙牴鎹澶撮儴瀹屽杽淇℃伅.

Message鏃?Chunk鐨勫ご閮ㄩ氬父浣跨敤(01------)寮濮? 鍚庨潰榪藉姞StreamId,Message綾誨瀷鍜孧essage闀垮害涓変釜瀛楁,榪欎簺瀛楁涓庡墠涓涓狢hunk鐨勪俊鎭繚鎸佷竴鑷?渚嬪,褰撲氦閿欑殑鍙戦乂ideo/Audio Message,瀹冧滑灞炰簬鍚屼竴涓猄treamId,浣嗗叾浠栧瓧孌甸兘鍙戠敓浜嗗彉鍖?

Message鎷嗗垎鎴愮殑榪炵畫鐨勪袱涓狢hunk鐨勬椂闂存埑鍙戠敓浜嗗彉鍖栨椂(灝ゅ叾鏄疺ideo/Audio Message),渚嬪,涓涓猇ideo Message涓墠涓涓狢hunk鍜屼笅涓涓狢hunk鐨勬椂闂存埑鎴栨椂闂存埑澧為噺涓嶄竴鑷?鍚庨潰鐨凜hunk澶撮儴浼氫互(10------)寮濮? 鍐嶈拷鍔犱竴涓?瀛楄妭鐨勬椂闂存埑瀛楁鍗沖彲.

Message榪囬暱,闇瑕佺敱澶氫釜榪炵畫鐨凜hunk榪涜鍙戦佹椂,Chunk鐨勫ご閮ㄩ氬父浼氫互(11------)寮濮? 娌℃湁鍏朵粬闄勫姞瀛楁,鎵鏈夌浉鍏沖瓧孌典笌鍓嶄竴涓狢hunk淇濇寔涓鑷?

 

. 鍏充簬ChunkId鍜孲treamId


StreamId閫氬父鐢ㄤ互瀹屾垚鏌愪簺鐗瑰畾鐨勫伐浣? 濡備嬌鐢↖d涓?鐨凷tream鏉ュ畬鎴愬鎴風鍜屾湇鍔″櫒鐨勮繛鎺ュ拰鎺у埗,鐢↖d涓?鐨凷tream鏉ュ畬鎴怱tream鐨勬帶鍒跺拰鎾斁絳夊伐浣?

ChunkId閫氬父浼氬畬鎴愭煇涓壒瀹氱殑宸ヤ綔. 姣斿璇寸郴緇熶繚鐣欑殑ChunkId涓?鐨勫氨鍙槸鐢ㄤ簬瀹屾垚瀵筍tream鐨勬帶鍒? 鍦ㄨ閫氶亾涓?鏈嶅姟鍣ㄥ拰瀹㈡埛绔彲浠ュStream鐨勫叿浣撳睘鎬ц繘琛岃緗拰浜や簰.濡傚垱寤轟竴涓猄tream,鍛婄煡Stream緇撴潫,璁懼畾Stream鐨勫甫瀹?璁懼畾Chunk澶у皬,緇堟Message絳?榪欓噷瀵筍tream鐨勬帶鍒朵笉鏄拡瀵規(guī)煇涓猄tream鐨?鑰屾槸鍏ㄥ眬鐨?

,浣跨敤ChunkId8瀵規(guī)挱鏀捐繘琛屾帶鍒?瀹㈡埛绔彂閫?play"鍛戒護,鏈嶅姟鍣ㄤ篃浼氶氳繃ChunkId8榪欎釜閫氶亾鍛婄煡瀹㈡埛绔挱鏀劇殑鐘舵?濡傚憡鐭ュ鎴風鎾斁寮濮?鎾斁瀹屾垚絳変俊鎭?鏈嶅姟鍣ㄤ嬌鐢–hunkId5榪涜濯掍綋鏁版嵁鐨勪紶閫?濡傛灉瀹㈡埛绔渶瑕侀拡瀵硅繖浜涙暟鎹鏈嶅姟鍣ㄥ簲絳?涔熻浣跨敤璇ラ氶亾.



]]>
鏂囦歡妯″紡http://www.shnenglu.com/scorpio/archive/2012/10/31/194099.htmlApollo FangApollo FangWed, 31 Oct 2012 08:40:00 GMThttp://www.shnenglu.com/scorpio/archive/2012/10/31/194099.htmlhttp://www.shnenglu.com/scorpio/comments/194099.htmlhttp://www.shnenglu.com/scorpio/archive/2012/10/31/194099.html#Feedback0http://www.shnenglu.com/scorpio/comments/commentRss/194099.htmlhttp://www.shnenglu.com/scorpio/services/trackbacks/194099.html

 

鏂囦歡

C紼嬪簭,灝嗘枃浠剁湅鍋氭槸榪炵畫瀛楄妭搴忓垪,鍏朵腑姣忎釜瀛楄妭閮藉彲浠ュ崟鐙鍙?/span>.榪欎釜涓?/span>UNIX鐜涓殑鏂囦歡緇撴瀯鏄竴鑷寸殑.浣?/span>ANSI C涓轟簡涓庡叾浠栫殑OS鐜鍏煎(姣斿Windows),鎻愪緵浜嗕袱縐嶆枃浠惰鍥?/span>: 鏂囨湰瑙嗗浘鍜屼簩榪涘埗瑙嗗浘.

鏂囨湰瑙嗗浘鍜屼簩榪涘埗瑙嗗浘

浜岃繘鍒惰鍥句腑,鏂囦歡涓殑姣忎釜瀛楄妭閮藉彲浠ヤ負紼嬪簭璁塊棶.浣嗘枃鏈鍥句腑,紼嬪簭涓湅鍒扮殑鍐呭涓庢枃浠剁殑鍐呭鍙兘涓嶅悓.

渚嬪MS-DOS鏂囨湰鏂囦歡鐢?/span>"\r\n"鏉ヨ〃紺鴻灝?/span>; Macintosh鏂囨湰鏂囦歡涓敤"\r"琛ㄧず琛屽熬; C紼嬪簭浣跨敤"\n"琛ㄧず琛屽熬. So,濡傛灉C紼嬪簭浠ユ枃鏈鍥炬ā寮忓鐞嗕竴涓?/span>MS-DOS鏂囨湰鏂囦歡,鍦ㄨ鍙栨枃浠舵椂,灝變細灝?/span>"\r\n"杞崲涓?/span>"\n",鍦ㄥ啓鍏ユ枃浠舵椂,灝變細灝?/span>"\n"杞崲涓?/span>"\r\n". Macintosh鍚岀悊.

璇寸櫧浜?/span>,涓ょ瑙嗗浘鐨勫疄鐜版槸涓鏍風殑,鍙槸鍦ㄥ鐞嗚灝炬垨澶勭悊鏂囦歡緇撳熬鏃舵湁鐐逛笉鍚岃屽凡.閲囩敤鏌愮瑙嗗浘鎵撳紑鏂囦歡鏃?/span>,娉ㄦ剰涓涓嬪氨鏄簡.

鏂囦歡緇撳熬鍜屾崲琛?/span>

鏂囦歡璇誨彇鏁版嵁鐨勭▼搴忛渶瑕佸湪杈懼埌鏂囦歡緇撳熬鏃跺仠姝?/span>.褰撳埌杈炬枃浠剁粨灝炬椂,"getc()"鍑芥暟浼氳繑鍥炰竴涓壒孌婂?/span>EOF.鎵浠?/span>C紼嬪簭鍙湁鍦ㄨ鍙栬秴鍑烘枃浠剁粨灝懼悗,鎵嶄細鍙戠幇鏂囦歡鐨勭粨灝?/span>.

涓轟簡閬垮厤璇誨彇絀烘枃浠跺甫鏉ョ殑闂,搴旇瀵規(guī)枃浠惰緭鍏ヤ嬌鐢ㄥ叆鍙f潯浠跺驚鐜?/span>(浣跨敤while鎴?/span>for,閬垮厤浣跨敤do...while)濡備笅璁捐:

int ch;      // Watching EOF
FILE* fp;
fp = fopen ("_FileName", "_Mode");
ch = getc (fp);
 
while (ch != EOF)
{
    putchar (ch);
    ch = getc (fp);
}

涓婇潰鐨勪緥瀛愬彲浠ョ湅鍋氭槸涓涓鏋?/span>,鏉ヨ繘琛屾枃浠剁粨灝劇殑鍒ゆ柇.浣?/span>ANSI C鐨勪袱縐嶆ā寮?/span>,瀵逛簬鏂囦歡緇撳熬鏈変笉鍚岀殑瑙i噴.

濡傛灉鏂囦歡浠ユ枃鏈ā寮忔墦寮,C鍙互璁ゅ嚭EOF鏍囧織鏂囦歡緇撳熬.濡傛灉浠ヤ簩榪涘埗妯″紡鎵撳紑,灝變細鎶?/span>EOF褰撳仛鏄枃浠朵腑鐨勪竴涓瓧絎?/span>.鐪熸鐨勬枃浠剁粨灝捐繕鍦ㄥ悗闈?/span>.鏂囦歡鐨勭粨灝?/span>,鍙兘绱ц窡鐫EOF,褰撶劧,涔熷彲鑳界敤絀哄瓧絎﹀~鍏呮枃浠朵嬌鍏跺ぇ灝忎負256(鎴栧叾浠栨暟)鐨勫嶆暟.鍦?/span>DOS涓嬩笉鎵撳嵃絀哄瓧絎?/span>.紼嬪簭涓寘鍚簡闃叉紼嬪簭鎵撳嵃EOF瀛楃鐨勪唬鐮?/span>.

MS-DOS鐨勬枃鏈枃浠剁敤浜岃繘鍒舵ā寮忓拰鏂囨湰妯″紡鎵撳紑,C紼嬪簭灝嗙湅鍒頒笅闈㈢殑鍐呭:

浜岃繘鍒舵ā寮忔墦寮鏂囦歡C紼嬪簭鐪嬪埌鐨勫唴瀹?/span>:

line1\r\n

line2\r\n

line3\r\n

^Z

鏂囨湰妯″紡鎵撳紑鏂囦歡C紼嬪簭鐪嬪埌鐨勫唴瀹?/span>:

line1\n

line2\n

line3\n

^Z

渚嬪瓙 : 閫嗗簭杈撳嚭涓涓枃浠跺唴瀹?/span>

#include <stdio.h>
#include <stdlib.h>
#define MAC
#define CNTL_Z '\032' /* DOS Text File End Of File Flag */
#define SLEN   50
#define PATH  
int main (void)
{
    unsigned char file[SLEN];
    unsigned char ch;
    FILE*         fp;
    unsigned long count;
    unsigned long last;
    puts ("Enter Name Of File To Be Processed : ");
    gets (file);
    if ((fp = fopen (file, "rb")) == NULL)
    {
        printf ("Reverse Can't Open %s .\n", file);
        exit (1);
    }
    fseek (fp, 0L, SEEK_END);   /* Locate To End Of File */
    last = ftell (fp);
    for (count = 1L; count <= last; count++)
    {
        fseek (fp, -count, SEEK_END);  /* Back 1 Byte */
        ch = getc (fp);
        if (ch != CNTL_Z && ch != '\r')
        {
            putchar (ch);
        }
#if defined MAC || defined WIN32
        /* Macintosh || Windows */
        if (ch == '\r')
        {
            putchar ('\n');
        }
        else
        {
            putchar (ch);
        }
#endif
        putchar ('\n');
        fclose (fp);
        return 0;
    }
}






]]>
What is "##" string in C codehttp://www.shnenglu.com/scorpio/archive/2012/06/08/177471.htmlApollo FangApollo FangFri, 08 Jun 2012 02:42:00 GMThttp://www.shnenglu.com/scorpio/archive/2012/06/08/177471.htmlhttp://www.shnenglu.com/scorpio/comments/177471.htmlhttp://www.shnenglu.com/scorpio/archive/2012/06/08/177471.html#Feedback0http://www.shnenglu.com/scorpio/comments/commentRss/177471.htmlhttp://www.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.


]]>
浜掓枼閿佺殑鍒濆鍖?/title><link>http://www.shnenglu.com/scorpio/archive/2012/04/16/171617.html</link><dc:creator>Apollo Fang</dc:creator><author>Apollo Fang</author><pubDate>Mon, 16 Apr 2012 05:53:00 GMT</pubDate><guid>http://www.shnenglu.com/scorpio/archive/2012/04/16/171617.html</guid><wfw:comment>http://www.shnenglu.com/scorpio/comments/171617.html</wfw:comment><comments>http://www.shnenglu.com/scorpio/archive/2012/04/16/171617.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/scorpio/comments/commentRss/171617.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/scorpio/services/trackbacks/171617.html</trackback:ping><description><![CDATA[<p style="text-align: justify; "> </p> <p><span style="font-size:11.0pt;font-family:瀹嬩綋;">浜掓枼閿佺殑鍒濆鍖?/span></p> <p> </p> <p><span style="font-size:11.0pt;font-family:瀹嬩綋;">鎺ュ彛</span></p> <p><span style="font-size:11.0pt; font-family:Consolas">1> </span><span style="font-size:11.0pt; font-family:瀹嬩綋;">鍒濆鍖栦簰鏂ラ攣</span></p> <p><span style="font-size:11.0pt; font-family:Consolas;color:#0070C0">int </span><span style="font-size:11.0pt; font-family:Consolas;color:#C00000">pthread_mutexattr_init</span><span style="font-size:11.0pt;font-family:Consolas">(<span style="color:#0070C0">pthread_mutexattr_t</span> *attr);</span></p> <p><span style="font-size:11.0pt; font-family:Consolas">2> </span><span style="font-size:11.0pt; font-family:瀹嬩綋;">閿姣佷簰鏂ラ攣</span></p> <p><span style="font-size:11.0pt; font-family:Consolas;color:#0070C0">int</span><span style="font-size:11.0pt; font-family:Consolas"> <span style="color:#C00000">pthread_mutexattr_destroy</span>(<span style="color:#0070C0">pthread_mutexattr_t</span> *attr);</span></p> <p><span style="font-size:11.0pt; font-family:Consolas">3> </span><span style="font-size:11.0pt; font-family:瀹嬩綋;">璁劇疆浜掓枼閿佺被鍨?/span></p> <p><span style="font-size:11.0pt; font-family:Consolas;color:#0070C0">int</span><span style="font-size:11.0pt; font-family:Consolas"> <span style="color:#C00000">pthread_mutexattr_settype</span>(<span style="color:#0070C0">pthread_mutexattr_t</span> *attr, <span style="color: #0070C0">int</span> kind);</span></p> <p><span style="font-size:11.0pt; font-family:Consolas">4> </span><span style="font-size:11.0pt; font-family:瀹嬩綋;">鑾峰彇浜掓枼閿佺被鍨?/span></p> <p><span style="font-size:11.0pt; font-family:Consolas;color:#0070C0">int</span><span style="font-size:11.0pt; font-family:Consolas"> <span style="color:#C00000">pthread_mutexattr_gettype</span>(<span style="color:#0070C0">const pthread_mutexattr_t</span> *attr, <span style="color:#0070C0">int</span> *kind);</span></p> <p> </p> <p><span style="font-size:11.0pt;font-family:瀹嬩綋;">浜掓枼閿佺被鍨?/span></p> <p><span style="font-size:11.0pt; font-family:Consolas">1. <span style="color:#FF33CC">PTHREAD_MUTEX_TIMED_NP</span></span></p> <p><span style="font-size:11.0pt;font-family:瀹嬩綋;">緙虹渷鍊?/span><span style="font-size:11.0pt; font-family:Consolas">; </span><span style="font-size:11.0pt; font-family:瀹嬩綋;">褰撲竴涓嚎紼嬪姞閿佷箣鍚?/span><span style="font-size:11.0pt;font-family:Consolas">, </span><span style="font-size:11.0pt;font-family:瀹嬩綋;">鍏朵綑璇鋒眰鐨勭嚎紼嬪皢褰㈡垚涓涓瓑寰呴槦鍒?/span><span style="font-size:11.0pt;font-family:Consolas">, </span><span style="font-size:11.0pt;font-family:瀹嬩綋;">騫跺湪瑙i攣鍚庢寜鐓т紭鍏堢駭鑾峰彇閿?/span><span style="font-size:11.0pt;font-family:Consolas">. </span><span style="font-size:11.0pt;font-family:瀹嬩綋;">榪欑鏈哄埗淇濊瘉浜嗚祫婧愬垎閰嶇殑鍏鉤鎬?/span><span style="font-size:11.0pt;font-family:Consolas">.</span></p> <p><span style="font-size:11.0pt; font-family:Consolas">2. <span style="color:#FF33CC">PTHREAD_MUTEX_RECURSIVE_NP</span></span></p> <p><span style="font-size:11.0pt;font-family:瀹嬩綋;">宓屽閿?/span><span style="font-size:11.0pt; font-family:Consolas">; </span><span style="font-size:11.0pt; font-family:瀹嬩綋;">鍏佽<u>鍚屼竴涓嚎紼?/u>瀵瑰悓涓涓攣鎴愬姛鑾峰緱澶氭</span><span style="font-size:11.0pt; font-family:Consolas">, </span><span style="font-size:11.0pt; font-family:瀹嬩綋;">騫墮氳繃鍚屾牱嬈℃暟鐨勮В閿佹搷浣滈噴鏀鵑攣</span><span style="font-size:11.0pt;font-family:Consolas">. </span><span style="font-size:11.0pt;font-family:瀹嬩綋;">濡傛灉鏄笉鍚岀嚎紼嬭姹?/span><span style="font-size:11.0pt;font-family:Consolas">, </span><span style="font-size:11.0pt;font-family:瀹嬩綋;">鍒欏湪鍔犻攣綰跨▼閲婃斁閿佹椂閲嶆柊绔炰簤</span><span style="font-size:11.0pt;font-family:Consolas">.</span></p> <p><span style="font-size:11.0pt; font-family:Consolas">3. <span style="color:#FF33CC">PTHREAD_MUTEX_ERRORCHECK_NP</span></span></p> <p><span style="font-size:11.0pt;font-family:瀹嬩綋;">媯閿欓攣</span><span style="font-size:11.0pt; font-family:Consolas">; </span><span style="font-size:11.0pt; font-family:瀹嬩綋;">濡傛灉鍚屼竴涓嚎紼嬭姹傚悓涓涓攣</span><span style="font-size:11.0pt;font-family:Consolas">, </span><span style="font-size:11.0pt;font-family:瀹嬩綋;">榪斿洖</span><span style="font-size:11.0pt;font-family:Consolas">EDEADLK, </span><span style="font-size:11.0pt;font-family:瀹嬩綋;">鍚﹀垯涓庣己鐪佺浉鍚?/span><span style="font-size: 11.0pt;font-family:Consolas">; </span><span style="font-size:11.0pt; font-family:瀹嬩綋;">榪欑鏈哄埗閬垮厤浜嗗嬈″姞閿佷駭鐢熸閿佺殑鎯呭喌</span><span style="font-size:11.0pt;font-family: Consolas">.</span></p> <p><span style="font-size:11.0pt; font-family:Consolas">4. <span style="color:#FF33CC">PTHREAD_MUTEX_ADAPTIVE_NP</span></span></p> <p><span style="font-size:11.0pt;font-family:瀹嬩綋;">閫傚簲閿?/span><span style="font-size:11.0pt; font-family:Consolas">; </span><span style="font-size:11.0pt; font-family:瀹嬩綋;">浠呬粎絳夊緟瑙i攣鍚庨噸鏂扮珵浜?/span><span style="font-size:11.0pt;font-family:Consolas">.</span></p> <p> </p> <img src ="http://www.shnenglu.com/scorpio/aggbug/171617.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/scorpio/" target="_blank">Apollo Fang</a> 2012-04-16 13:53 <a href="http://www.shnenglu.com/scorpio/archive/2012/04/16/171617.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>KMP(1)--KMP綆楁硶瑙f瀽http://www.shnenglu.com/scorpio/archive/2012/01/07/162295.htmlApollo FangApollo FangSat, 07 Jan 2012 06:35:00 GMThttp://www.shnenglu.com/scorpio/archive/2012/01/07/162295.htmlhttp://www.shnenglu.com/scorpio/comments/162295.htmlhttp://www.shnenglu.com/scorpio/archive/2012/01/07/162295.html#Feedback0http://www.shnenglu.com/scorpio/comments/commentRss/162295.htmlhttp://www.shnenglu.com/scorpio/services/trackbacks/162295.html闃呰鍏ㄦ枃

]]>
How to update or install pthread manual reference on Linuxhttp://www.shnenglu.com/scorpio/archive/2011/10/27/159215.htmlApollo FangApollo FangThu, 27 Oct 2011 05:28:00 GMThttp://www.shnenglu.com/scorpio/archive/2011/10/27/159215.htmlhttp://www.shnenglu.com/scorpio/comments/159215.htmlhttp://www.shnenglu.com/scorpio/archive/2011/10/27/159215.html#Feedback0http://www.shnenglu.com/scorpio/comments/commentRss/159215.htmlhttp://www.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


]]>
About C/C++ Data Typehttp://www.shnenglu.com/scorpio/archive/2011/10/25/159060.htmlApollo FangApollo FangTue, 25 Oct 2011 09:28:00 GMThttp://www.shnenglu.com/scorpio/archive/2011/10/25/159060.htmlhttp://www.shnenglu.com/scorpio/comments/159060.htmlhttp://www.shnenglu.com/scorpio/archive/2011/10/25/159060.html#Feedback0http://www.shnenglu.com/scorpio/comments/commentRss/159060.htmlhttp://www.shnenglu.com/scorpio/services/trackbacks/159060.html    1) int Integer
   2) int*  A pointer point to an Integer
   3) int** A pointer point to a pointer what point to an Integer
   4) int* arr[N] An array that each element is a pointer point to an Integer
   5) int(*arr)[N] A pointer point to an array that its each element is an Integer and it have N elements.
   6) int (*fun)(int) A pointer point to a function what with an integer parameter and with an integer returning.
   7) int (*fun[N])(int) An array that have N elements and each element is a pointer point to a point that point to a type of function that have an integer parameter and with an integer returning.
   Maybe understand (4) type just like this :
   int*[N] arr;
It means "arr"'s type is int*[]. And how to catch the meaning of int*[]? At first it's an array, and each element of this array is a pointer point to an integer.
   And can understand (5) type just like this :
int[N]* arr;
It means "arr"'s type is int[]*. That's to show that this type is a pointer and this pointer point to an integer array its size is N.
   It means this variable value named "fun" and its type
   Well, the above are so complex, and we should follow the KISS principle that is Keep It Simple, Stupid.
Did you catch it ??



Tuesday, October 25, 2011


]]>
How To Disable "_CRT_SECURE_NO_WARNINGS" Warningshttp://www.shnenglu.com/scorpio/archive/2011/10/25/159059.htmlApollo FangApollo FangTue, 25 Oct 2011 09:26:00 GMThttp://www.shnenglu.com/scorpio/archive/2011/10/25/159059.htmlhttp://www.shnenglu.com/scorpio/comments/159059.htmlhttp://www.shnenglu.com/scorpio/archive/2011/10/25/159059.html#Feedback0http://www.shnenglu.com/scorpio/comments/commentRss/159059.htmlhttp://www.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



]]>
亚洲欧洲中文日韩久久AV乱码| 久久亚洲欧美国产精品| 久久久久亚洲Av无码专| 久久久久久伊人高潮影院| 久久综合久久伊人| 伊人色综合久久天天人守人婷 | 久久久久青草线蕉综合超碰| 久久精品亚洲精品国产欧美| 国产 亚洲 欧美 另类 久久| 久久福利片| 麻豆av久久av盛宴av| 狠狠色综合网站久久久久久久高清 | 久久亚洲国产精品成人AV秋霞| 欧美久久天天综合香蕉伊| 久久人人爽人人爽人人片AV麻豆| 亚州日韩精品专区久久久| 久久精品久久久久观看99水蜜桃| 久久精品国产AV一区二区三区| 午夜人妻久久久久久久久| 久久精品一区二区| 欧美与黑人午夜性猛交久久久| 国产精品久久久香蕉| 狠狠88综合久久久久综合网| 伊人久久免费视频| 免费无码国产欧美久久18| 久久精品毛片免费观看| 国产午夜精品久久久久九九| 无码任你躁久久久久久久| 日本人妻丰满熟妇久久久久久| 四虎国产精品免费久久5151| 亚洲国产日韩欧美综合久久| 国产情侣久久久久aⅴ免费| 久久99精品免费一区二区| 亚洲国产精品无码久久一线 | 伊人丁香狠狠色综合久久| 久久影视综合亚洲| 久久精品国产精品国产精品污| 欧美亚洲国产精品久久高清| 亚洲精品高清国产一久久| 久久AV高潮AV无码AV| 久久综合九色欧美综合狠狠|