#include int main(int argc, char *argv[]){ FILE* fluxLecture; fluxLecture=fopen(argv[1],"r"); if(fluxLecture){ int buffer=0; while(!feof(fluxLecture)){ fread(&buffer,sizeof(char),1,fluxLecture); printf(".%x", buffer); } printf("\n"); fclose(fluxLecture); } return 0; }