Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- enjoy.
- */
- #include <iostream>
- #include <windows.h>
- using namespace std;
- int main() {
- POINT cursorPosition;
- GetCursorPos(&cursorPosition);
- cout << ": Cursor position :\n\n\n" << endl;
- cout << "X => " << cursorPosition.x << endl;
- cout << "Y => " <<cursorPosition.y << endl;
- string w;
- cin >> w;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment