Added decimal number in output, fitted everything into < 80 chars per
line again.
This commit is contained in:
parent
07952d405d
commit
76a7bb252f
|
@ -1,8 +1,10 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main (int argc, char **argv) {
|
||||
int i;
|
||||
for (i = 0; i < 256; i++) {
|
||||
printf ("%x %o %c\t", i, i, i);
|
||||
if (i % 8 == 7) printf ("\n");
|
||||
printf ("%x %d %o %c\t", i, i, i, i);
|
||||
if (i % 4 == 3) printf ("\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue