#!/usr/bin/env cscript #include #include #include #define ALPHABET "ABCDEFGHIJKLMNOPQRSTUVWXYZ" int scan_column_index(const char column_string[3 + 1]) { char *needle; for (needle = &column_string[strlen(column_string) - 1]; needle >= column_string; needle--) { } } int main(int argc, const char *argv[]) { printf("XFD -> %ld\n", scan_column_index("XFD")); return 0; }