Skip to content

Instantly share code, notes, and snippets.

@JacobAMason
Last active February 3, 2016 18:53
Show Gist options
  • Save JacobAMason/455717ec248f3d1c0ec1 to your computer and use it in GitHub Desktop.
Save JacobAMason/455717ec248f3d1c0ec1 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(int argc, char* argv[])
{
printf("argc is %d\n", argc);
int i;
for(i = 0; i < argc; i++)
{
printf("argv[%d] is '%s'\n", i, argv[i]);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment