Pass arguments to a parameter class object
- by David R
This is undoubtedly a simple question. I used to do this before, but it's been around 10 years since I worked in C++ so I can't remember properly and I can't get a simple constructor call working.
The idea is that instead of parsing the args in main, main would create an object specifically designed to parse the arguments and return them as…