In my last question the answer helped me solve an issue of choosing Number
against other arguments.
Then out of curiosity I though what if I actually had to use char2
or char1
or char3
etc.. without referring to a list that'll let me use them based on their placement in the argument.
The best way I could find after some research is creating a dynamic array for the arguments where each argument is an object in 1 class dedicated for that purpose, and actually separate them based on their object distinction. That being said couldn't find any examples to clarify that method or walk me through the process step by step.
So I'd like to get ways on how to solve that issue and walking through the process.