How!?

I would like to simulate key presses to my os(windows 8), what would be a good way of doing so? :) Please do not include libary's I would have to manually setup, I tried setting SFML up and failed miserably. I am using Code Blocks as my respective compiler.
Probably winapi, but I would ask it on Windows Programming forum, as it's OS-dependant. Also, you can't ignore external libraries - one day or another, you will NEED to use them. The faster you learn how to set them up, the better for you. Use tutorials, ask on stackoverflow or some other website, and just try to learn. :)
Topic archived. No new replies allowed.