My skin starts to crawl when people try to make any other games than text-based ones on the console.
And you still have not even acknowledged whether you are are stuck in the past or gone modern.
Type: Posts; User: Elysia
My skin starts to crawl when people try to make any other games than text-based ones on the console.
And you still have not even acknowledged whether you are are stuck in the past or gone modern.
What?
GetCursorPos gets the current coordinates where the mouse (pointer) is.
SetCursorPos moves the mouse (pointer).
Better would be,
std::cout << "X: " << Coord.x << " Y: " << Coord.y << "\n";
Since this is C++, after all.
Anyway, I recommend you ditch this approach and VC++ 6 (why do you use such an old...