Hey, I'm new to c++ and this forum, but I was messing around with c++ yesterday and I managed to create this program that will really annoy someone. Any ideas how to improve this?
Don't do that though because you don't know what you might be clicking on.
P.S, the only way to stop the mouse moving is to use task manager.
Your application spawns a command prompt window and is only alive for as long as that window is open. When that window has focus the user only has to press "Ctrl+C" to kill the application. EDIT: A potential work around for this is so easy that I'm not going to hand it to you. Look up RAII and tell me how that might be used here.
As for making it more obnoxious? I remember an old VBScript that used to pop-up with a box asking "Are you dumber then toast?" with Yes and No buttons on it. It would then take your mouse pointer and constantly place it over the 'Yes' option. I always thought that was pretty funny.