I have a program that can accept command-line arguments and I want to access the arguments, entered by the user, from a function. How can I pass the *argv[], from <
*argv[]
SomeResultType ParseArgs( size_t count, char** args ) { // parse 'em }
Or...
SomeResultType ParseArgs( size_t count, char* args[] ) { // parse 'em }
And then...
int main( int size_t argc, char* argv[] ) { ParseArgs( argv ); }