How can you preset suggested text for a cin?

E.g.

cout<<"Old value is: "<<oldVal<<" New value: ";
cin.SetPrefixText(oldVal);
cin>>newVal;

So the user sees: