Just a question, is there anyway that I can have an input with a text already written for me with using "cin." I'm looking for a predefined function or whatever that I can use to have inputs with a text in it. My purpose of that is that I'm trying to make a simple text editor in command-line. Even if there aren't any predefined functions, anyone have a pseudocode to copy a string of words into a cin (or any other input). I hope that my question is not vague pointless.
Regards.