揮発性のメモ2

http://d.hatena.ne.jp/iww/

2009-06-19から1日間の記事一覧

2進数の表記

C

gcc4.3から、0b11110000みたいに頭に0bをつけて2進数表記が出来るようになっていたらしい。 Integer constants written in binary are now supported as a GCC extension. They consist of a prefix 0b or 0B, followed by a sequence of 0 and 1 digits. ht…