#include<iostream>
#include<Windows.h>
using namespace std;
int main() {
mouse_event(MOUSEEVENTF_LEFTDOWN,X, Y, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, X, Y, 0, 0);
system("pause");
return 0;
}
X,Y 좌표값 입력
'프로그래밍언어 > C++' 카테고리의 다른 글
<c++> string to char (0) | 2019.10.11 |
---|---|
STL Functional 사용법? (0) | 2019.09.30 |
마우스 좌표값 얻어오기 (0) | 2019.09.27 |
Save data Text file (0) | 2019.09.20 |
OBB(Object Oriented Bounding Box) Collision (2) | 2019.09.10 |