C語言實現十進制轉換爲二進制

/* * 文件名:二進制轉換.c * 功能描述:把10進制數轉換爲二進制數 * 編寫人:王廷雲 * 編寫日期:2017-1-10 */ #include <stdio.h> #define NR (sizeof(int)*8) // 二進制位的個數 void deciToBin(int num); // 十進制轉換爲二進制函數聲明 /* 主函數 */ int main(void) {
相關文章
相關標籤/搜索