Cè¨èªä¸ã§ãï¼å®è¡æã«ï¼ã¨ã³ãã£ã¢ã³ã®å¤å®ã¯ã§ããªããã®ãããã ...ã¨æ¢ããã¨ãããã¢ããµãªã¨è¦ã¤ãã£ãã®ã§ç´¹ä»ãã¾ãã ããã°ã©ã å¼ç¨å ï¼Big Endian 㨠Little Endian ã®å¤å¥(Kodama's tips page) [http://www.math.kobe-u.ac.jp/~kodama/tips-C-endian.html] é¨åå çãã int x = 1;   // 0x00000001 if( *(char *)&x ){ // ãã¢ãlittle endian. memory image 01 00 00 00 printf("ãã ãã¾ããªãã«ã¨ã³ãã£ã¢ã³å½¢å¼ã§ãã"); }else{ // ãã¤ã   big endian. memory image 00 00 00 01 printf("ãã ãã¾ãããã°ã¨ã³ãã£ã¢ã³å½¢å¼ã§ãã"); } ä¸ç¬è¦
{{#tags}}- {{label}}
{{/tags}}