#include<iostream>
#include<Windows.h>
using namespace std;
POINT p;
int main() {
if (GetCursorPos(&p)) {
	cout << p.x << "," << p.y << endl;
      }
	system("pause");
	return 0;
}

 

'프로그래밍언어 > C++' 카테고리의 다른 글

STL Functional 사용법?  (0) 2019.09.30
마우스 클릭  (0) 2019.09.27
Save data Text file  (0) 2019.09.20
OBB(Object Oriented Bounding Box) Collision  (3) 2019.09.10
Translation Matrix  (0) 2019.09.04

+ Recent posts