Skip to content

Instantly share code, notes, and snippets.

@ss23
Created September 24, 2012 14:55
Show Gist options
  • Save ss23/3776370 to your computer and use it in GitHub Desktop.
Save ss23/3776370 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <string.h>
int main(int argc, char **argv) {
char buf[128];
if(argc < 2) return 1;
strcpy(buf, argv[1]);
printf("%s\n", buf);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment