quote: Original post by Fractal
please someone answer this as I can''t find the solution anywhere else!
- Desperation doesn''t help
- Some things you have to solve for yourself. Here''s a hint: read in the entire line of input and parse it for the valid tokens. How do you tokenize? string has find_first_of(), find_first_not_of(), find_last_of() and find_last_not_of() methods; you can take it from there.