title: Take screenshot using virtual keys using c++
body: <p>I want to make a program which takes screenshot whenever it runs. For that, I thought of using virtual keys but i am not able to press two keys simultaneously. I am trying to do this in Microsoft windows 8.1 and trying to press <kbd><img src="https://i.stack.imgur.com/B8Zit.png" alt="Windows Key"></kbd> + <kbd>Print Scrn</kbd> simultaneously.</p>