标签:pre ack back its 进制 number tor push int
vector<int> int2Vecbinary(int iNumber,int iBits)
{
vector<int> bTemp;
for(int j=(iBits-1);j>=0;j--)
{
bTemp.push_back((iNumber>>j)&1);
}
return bTemp;
}
标签:pre ack back its 进制 number tor push int
原文地址:https://blog.51cto.com/11998922/2532360