diff options
Diffstat (limited to 'ord.c')
-rw-r--r-- | ord.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,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++; + } +} + |