因为要学习汇编,里面要频繁的用到进制的转换,所以,用了一个下午,编写了个进制转换的小程序。虽然不是很难,但是很麻烦,很费力。还算是比较满意,所以把源码贴出来了。
#include "stdio.h"#include <math.h>#include <stdlib.h>#include <string.h>void d_b(int num);void b_d(char *b);void b_o(char *b);void b_h(char *b);void b_t(char *b);void o_b(int num);void h_b(int num);void help();vo...