Skip to content

Instantly share code, notes, and snippets.

View stillmotion's full-sized avatar

Daniel H stillmotion

  • Cyber Space!
View GitHub Profile
hex dec ascii hex dec ascii hex dec ascii hex dec ascii
00 0 \0 20 32 40 64 @ 60 96 `
01 1 ??? 21 33 ! 41 65 A 61 97 a
02 2 ??? 22 34 " 42 66 B 62 98 b
03 3 ??? 23 35 # 43 67 C 63 99 c
04 4 ??? 24 36 $ 44 68 D 64 100 d
05 5 ??? 25 37 % 45 69 E 65 101 e
06 6 ??? 26 38 & 46 70 F 66 102 f
07 7 \a 27 39 ' 47 71 G 67 103 g
08 8 \b 28 40 ( 48 72 H 68 104 h
#include <stdlib.h>
static void swap(int *p, int *q)
{
int tmp;
tmp = *p;
*p = *q;
*q = tmp;
}
#include <stdlib.h>
static void merge(int *to, int *p, int n, int *q, int m)
{
while (n > 0 && m > 0)
if (*p < *q) {
*to++ = *p++;
n--;
} else {
*to++ = *q++;
#include <stdio.h>
char *program = {
"#include <stdio.h>\n"
"\n"
"char *program = {\n"
"%s\n"
"};\n"
"\n"
"char *escape(char *s)\n"