My c++ programs always use the maximum amount of CPU they can get because they are constantly running.
My question is, how do i make my program w8 for a mouse button event before it continues running??
Ive googled it and i only found answers related to the windows API, ive worked with it before, but i wanted something more portable.
How is this done?
If im not being clear enought pls tell me.