Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created September 28, 2016 16:03
Show Gist options
  • Save AndyNovo/ee1d7f86518be3a3d94bf9194a658ce4 to your computer and use it in GitHub Desktop.
Save AndyNovo/ee1d7f86518be3a3d94bf9194a658ce4 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main ( int argc, char *argv[] ){
cout << argc << " arguments" << endl;
for(int i=0; i < argc; i++){
cout << "Arg " << i << ": " << argv[i] << endl;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment