mousemove and mouseclick

Hello everyone,
Does anyone know how to simulate mouse move and mouse click using code::blocks as a platform and Windows 7
I am doing game in which you have to click as much times as possible, but I also want to include that as a 'cheat'.

Thank you in advance!
Please, do not double post. It clutters forums and spreads attempts to help you. Another thread: http://www.cplusplus.com/forum/beginner/149055/
Topic archived. No new replies allowed.