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:
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: sam021384 Search: Search took 0.02 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |