I'm making a console application receiving inputs from console window. If I use Eclipse for IDE, I can paste inputs to console window. But I can't paste inputs to console window if I use Visual C++ for IDE. Is there any way to paste inputs in console window made by Visual C++?
To copy, into the clipboard, a text area selected in an "Opened Console ", use shortkey < CTRL > + < inser >. You are then be able to paste with: < CTRL > + V.
To set command-line arguments in Visual Studio, right click on the project name, then go to Properties. In the Properties Pane, go to "Debugging", and in this pane is a line for "Command-line arguments." Add the values you would like to use on this line. They will be passed to the program via the argv array.
To keep the console window open in Visual Studio without using the Console. ReadLine() method, you should run the application without debug mode by pressing Ctrl+F5 or by clicking on the menu Debug > Start without Debugging option.
Press F11 . Visual Studio calls the Console.
Click on the icon of console window Press Edit -> Paste
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With