summaryrefslogtreecommitdiff
path: root/ord.c
blob: fd2eadfd142597bf7fd2f9155123ae3bb402c056 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

int
main (int argc, char* argv[]) {
	if (argc<2) { return 1; }
	
	int i = 0;
	char* delim = "";
	while (argv[1][i] != '\0') {
		printf("%s%i",delim,(int)argv[1][i]);
		delim=" ";
		i++;
	}
}