I’ve been using VS and DevC++ to create C++ console programs, but I dislike that the output is in a console window. I’d like to be able to easily copy/paste text without needing to right click the window, go to properties, enable quickedit mode, and so forth.
Lastly, I’d like to be able to time how long my program takes to run (accurately). I am using Windows.
As to the first part of your question, enabling QuickEdit is a once-only thing, so I really think it’s far from onerous to select console text. You can always tee the output to a file when you invoke the application.
tee.exe
Depending on one’s definition of “accurately”, using
clock()might suffice:This gives millisecond accuracy on Windows.