SE'S BOOK

ラベル C の投稿を表示しています。 すべての投稿を表示
ラベル C の投稿を表示しています。 すべての投稿を表示
2011年10月12日水曜日

整数のバイナリ表示を取得

›
ビット演算子を用いて、整数のバイナリ表示を得る Version 1 void PrintBinary(int x,int d){     char buffer[33];     int index=0;     for(;d>0;d--){         buf...
›
ホーム
ウェブ バージョンを表示
Powered by Blogger.