Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to paste inputs in console window while debugging with Visual C++ 2010?

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++?

like image 370
Tagussan Avatar asked Feb 26 '12 07:02

Tagussan


People also ask

How do you paste into console application?

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.

How do you debug console applications using command line arguments?

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.

How do I hold my console screen in Visual Studio?

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.

How do I show the console window in Visual Studio?

Press F11 . Visual Studio calls the Console.


1 Answers

Click on the icon of console window Press Edit -> Paste

like image 178
user2899257 Avatar answered Oct 08 '22 16:10

user2899257