making a .h file
All right guys here is my code now if I wont to use this as an include.h file what do I need to change and why?
int x, y;
mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
You would need to place the body of main() in a function. The function prototype would go in the header, then the implementation in the source file. main() would then just call the function.
sorry stupid qustion
thaks for the answer above thow