[ create a new paste ] login | about

Link: http://codepad.org/UJdAadXh    [ raw code | output | fork ]

C, pasted on Oct 10:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
int main() {
  unsigned int i, j;
  printf("  |0 1 2 3 4 5 6 7 8 9 A B C D E F\n");
  printf("--+--------------------------------\n");
  for (i = 0x20; i <= 0x70; i += 0x10) {
    printf("%1x |", i >> 4);
    for (j = i; j < i + 0x10 && j <= 0x7e; j++)
      printf("%c ", j);
    putchar('\n');
  }
  return 0;
}
/* end */


Output:
1
2
3
4
5
6
7
8
  |0 1 2 3 4 5 6 7 8 9 A B C D E F
--+--------------------------------
2 |  ! " # $ % & ' ( ) * + , - . / 
3 |0 1 2 3 4 5 6 7 8 9 : ; < = > ? 
4 |@ A B C D E F G H I J K L M N O 
5 |P Q R S T U V W X Y Z [ \ ] ^ _ 
6 |` a b c d e f g h i j k l m n o 
7 |p q r s t u v w x y z { | } ~ 


Create a new paste based on this one


Comments: