source code of aitch eee exx restore02a dot c

#include <stdio.h>

int main(void)
{
int hex;
unsigned char car;
int val;
int done;
FILE *in;

done = 0;

in = fopen(“/home/david/graphs/golomb5/hexdumpdotc2/hexdump02a.txt”, “r”);

while( done == 0)
{

val = fscanf(in, “%x”, &hex);

if(val == EOF)
{
done = 1;
}

if(done == 0)
{
car = (unsigned char) hex;
printf(“%c”, car);
}
}

return 0;

}

Published
Categorized as History
meditationatae's avatar

By meditationatae

Canadian

Discover more from meditationatae

Subscribe now to keep reading and get access to the full archive.

Continue reading