How should an input string be read into a shunting yard algorithm calculator?
I have implemented the basic structure of the shunting yard algorithm, but I’m not sure how to read in values that are either multidigit or functions. Here’s what I have currently for reading in values: string input; getline(cin, input); input.erase(remove_if(input.begin(), input.end(), ::isspace), input.end()); //passes into function here for (int i = 0; i < input.length();… Read More How should an input string be read into a shunting yard algorithm calculator?