skipping characters with operator>>

I found the following post on skipping white space characters with the operator>>

http://stackoverflow.com/questions/21764826/skipping-expected-characters-like-scanf-with-cin

Is it possible however to skip other types of characters?

For example, if I had
lll ooo ppp 12 13 14
and I only want to read in 12 13 and 14 into 3 separate variables, regardless of whether the input was from file or keyboard.

I don't want to use any of the "get" functions.
Topic archived. No new replies allowed.