一基础的问题
#include<iostream>using namespace std;
void main()
{
unsigned integer=4;
integer>>3;
cout<<integer<<endl;
}
为什么integer右移了3位还是原来的值4呢??
书上明明是这样说的呀!!
书上明明是这样说的呀!!
2010-11-22 11:26
2010-11-22 11:32
2010-11-22 11:44
2010-11-22 11:51
真的这样的哦!!呵呵!!
2010-11-22 12:02
2010-11-22 12:04