title: Program to recognize user keys user pressing c++
body: <p>I want to write something like autocorrection for Windows, but the problem is my program needs to scan keys pressed all the time, even when the program window is not active. I'm new to c++, so I have no idea how to do that. All help will be greatly appreciated!</p>