c++ 鼠標控制

//windows下得到鼠標位置和控制鼠標: #include <iostream> #include <windows.h> #include <cstdlib> using namespace std; int main() { char n; POINT p; //獲取鼠標位置 while((n=getchar())!='\n') { GetCursorPos(&p); s
相關文章
相關標籤/搜索