home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer 7500
/
MAX_PROGRAMMERS.iso
/
PROGRAMS
/
UTILS
/
HARDDISK
/
BOOTM13.ZIP
/
HEX2BIN.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-12-17
|
216 b
|
17 lines
/*
* hex2bin - a simple hex to binary converter
*/
#include <stdio.h>
main()
{
int c;
#ifdef MSDOS
setmode(stdout,O_BINARY);
#endif
while (scanf("%x", &c) == 1)
putchar(c);
exit(0);
}