easiest way to read formatted input in c++?
===

is there any way to read a formatted string like this for example
":48754+7812=Abcs"
let's say I have three stringz X,Y and Z
and I want

    X = 48754 
    Y = 7812
    Z = Abcs

the size of the two number and the string may vary .
so I dont want to use substring or sth like that.
is it possible to give enter code hereC++ a parameter like this

    ":#####..+####..=SSS.."

thus it knows directly what's going on ?
