We can select and copy from the cmd window using the mouse pointer. Suppose I have a program which fills the window with random text and then I select any text using the mouse(I dont copy it just select it), then store that portion of text in a string. So how to do this in C++?
I have done this for selections made using keyboard. But I dont have any idea how to do the same using the mouse pointer.
Its not using any clipboards since nothing was copied to clipboard, I want to copy from buffer to a variable.