资 源 简 介
#include
#include
#include
#include
#include
static int flag=0;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
void print_bin(unsigned int n,int m)//字符转为8位2进制 ,1行显示16位或24位
{
int l = sizeof(n)*8;//总位数。
int i=7;
/*if(i == 0)
{
printf("0");
return;
}
for(i = l-1; i >= 0; i --)//略去高位0.
{
if(n&(1<=0; i --)
printf("%c", ((n&(1<