C/C++の宿題片付けます 129代目at TECH
C/C++の宿題片付けます 129代目 - 暇つぶし2ch145:デフォルトの名無しさん
09/07/16 02:05:38
>>144

#include <stdio.h>
int main(){
printf("%d",0xabcd & 0xff00);
return 0;
}


int bit_set(int x, int y){
return x | (1<<(y-1));
}


int bit_clear(int x, int y){
return x & ~(1<<(y-1));
}


int bit_test(int x,int y){
return (x>>(y-1)) & 1;
}


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch