Hey guys, I am making a parser that takes command line arguments. I understand how to do it, but the program takes in the arguments in the main method. Why would my header outline have a method argslist? What do you think the professor wants me to do with this method?
If you are talking about class lexer public: the ampersands (&) tell me you are passing by reference which means you are taking the information from main (or the part of the code that calls the method) which is to be modified. looks like its both the input and output filestream.
What are the arguments to be used? single letter switches? or are the arguments the input and output file names.