1234567
int main( int argc, char* argv[]) // command line arguments passed to main { if (argc >1) //if more arguments than only the filename { for (int i=0; i<argc; i++) std::cout << argv[i] <<std::endl; //print them } }