how to get command arguments c++
#include <iostream> int main( int argc, char *argv[] ) { while( --argc ) std::cout << *(++argv) << "\n"; } //prints all the options
#include <iostream> int main( int argc, char *argv[] ) { while( --argc ) std::cout << *(++argv) << "\n"; } //prints all the options