/* binary2c.c * * COPYRIGHT (c) 1998 by Fredrik Noring. * * Convert binary files to C blocks. */ #include int main(int argc, char **argv) { int state = 1, c, oc = EOF, n = 0; FILE *stream_in, *stream_out, *stream_template; if(argc-1 != 3) { fprintf(stderr, "Binary To C converter.\n" "Usage: binary2c