Answers for "how to get command arguments c++"

C++
1

how to get command arguments c++

#include <iostream>
int main( int argc, char *argv[] )
{
   while( --argc ) std::cout << *(++argv) << "\n";
}
//prints all the options
Posted by: Guest on April-11-2022

Code answers related to "how to get command arguments c++"

Browse Popular Code Answers by Language