Skip to content

Instantly share code, notes, and snippets.

@sugamasao
Created November 11, 2009 16:51
Show Gist options
  • Save sugamasao/232100 to your computer and use it in GitHub Desktop.
Save sugamasao/232100 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(int argc, char* argv[]) {
int i = 0;
for(i = 0; i < argc; i++) {
printf("argv[%d]=%s\n", i, argv[i]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment