Hey, so I just was making a program that basically makes the mouse click, cause i thought it would be cool to get a few thousand clicks on that facebook clicking game. The code I have right now is the following:
What I was thinking is instead of doing ++i to simply make this function execute for 30 seconds. I figured this might allow me to get more clicks (is that even true?) and that way it would stop clicking after 30 seconds. However, I don't really have an idea how to go about this... I did some searching and came across the time_t function but don't really know how to incorporate it from there. Help as always is greatly appreciated :)
Off topic and of no help but I want to add. Just about an hour ago I saw the clicking game on Facebook and this was the first thing that came to my mind.