c++十進制轉換二進制

學會了一個很強的操做,本身手動將十進制數字轉換成爲二進制c++ #include <bits/stdc++.h> using namespace std; vector<int>pow2={1,2,4,8,16,32,64,128}; int main(int argc, char** argv) { int a = 17; string s; for(int i =7;i>=0;--i)
相關文章
相關標籤/搜索