I need to pass command line arguments out of main. I am using a vector, but I am not sure how to sort out the contents of the vector when I get to the next class.
What do you mean by "sort out the vectors"? And I think in your if statements you probably want to assign them to *(i + 1), otherwise your expressions will just be the option statements. You'll need to check you can even iterate to the next element, however.
The vector should contain the argv and the argc. If I send the console command -e [*] it should find -e and make the string expressionTwo [*]. It doesnt it makes expressionTwo -e. It never finds the expression I enter in