C語言檢視變數位元組程式

鴨脖發表於2013-01-03
#include<stdio.h>
typedef unsigned char* byte_pointer;


void show_bytes(byte_pointer start,int n){
int i;
for(i=0;i<n;i++){
printf("%.2x",start[i]);
}
printf("\n");
}

相關文章