Skip to content

Instantly share code, notes, and snippets.

@antirez
Created May 20, 2016 13:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antirez/38b622d399883ecda18f26529852e82f to your computer and use it in GitHub Desktop.
Save antirez/38b622d399883ecda18f26529852e82f to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(void) {
int c;
printf("char *cset = \"");
for (c = 'A'; c <= 'Z'; c++) printf("%c",c);
for (c = 'a'; c <= 'z'; c++) printf("%c",c);
for (c = '0'; c <= '9'; c++) printf("%c",c);
printf("-_\";\n");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment