摘要:
#include <iostream>#include <windows.h> //包含windows 的API头文件using namespace std;void main(){ SetConsoleTitle("获得当前鼠标位置");POINT p;while(true){if (GetCursorPos(&p)) {cout<<"当前鼠标的位置:\t"<<p.x<<","<<p.y;Sleep(100);system("cls" 阅读全文
posted @ 2013-05-29 16:30
梧桐树下的一缕阳光
阅读(1323)
评论(0)
推荐(0)

浙公网安备 33010602011771号