c语言获取鼠标位置

来源:互联网 发布:php中的while循环 编辑:程序博客网 时间:2024/05/16 17:34
#include <stdio.h>#include <windows.h>int main(){while(1){    POINT pt;    GetCursorPos(&pt);     printf("%ld %ld\n",pt.x,pt.y);}}

0 0
原创粉丝点击