Using getline(cin, string) is it possible to pre-enter the string so the user can edit it, a bit like when you press up in the console?
So the console would give this, the part after the colon being editable:Code:string astring; cout<<"Please change this text: "; astring = "This is to be in the prompt the users edits."; getline(cin, astring); //Prompts user input cout<<astring<<endl; //Outputs the edited string
Code:Please change this text: This is to be in the prompt the users edits.