diff options
Diffstat (limited to 'src/hexout.c')
-rw-r--r-- | src/hexout.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/hexout.c b/src/hexout.c deleted file mode 100644 index 1af6805..0000000 --- a/src/hexout.c +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #include <stdio.h> | ||
2 | |||
3 | int main() { | ||
4 | char tbl[] = "0123456789ABCDEF"; | ||
5 | int in; | ||
6 | |||
7 | while( ( in = getchar() ) != EOF ) { | ||
8 | putchar( tbl[in>>4]); | ||
9 | putchar( tbl[in&15]); | ||
10 | putchar( '\n' ); | ||
11 | } | ||
12 | return 0; | ||
13 | } | ||