chuyan
asked on
how to use "getline"?
how to use the function "getline" in order to get a string input from keyboard?
moreover, how to change an infix math expression to postfix by using stack?
e.g. 1 + 2 * 3
will be
1 2 3 * +
tks!!
moreover, how to change an infix math expression to postfix by using stack?
e.g. 1 + 2 * 3
will be
1 2 3 * +
tks!!
ASKER
oh yup! tks!!
ASKER
Edited text of question
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
tks!
If you use the latest STL, then it's simply cin.getline(string your_string, char terminator);