摘要: 十进制转换:将任一整数转换为二进制形式。#include <iostream>using namespace std;void printb(int,int);void main(){ int x; cout <<"Input number:"; cin >>x; cout <<"number of decimal form:" <<x <<endl; cout <<" it's binary form:"; printb(x,sizeof(i 阅读全文
posted @ 2012-01-30 22:59 cmaaa 阅读(1133) 评论(0) 推荐(0) 编辑