c语言在控制台判定鼠标左键是否点击要用什么函数

[复制链接]
查看11 | 回复1 | 2012-12-6 23:05:06 | 显示全部楼层 |阅读模式
// temp1.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include int main(int argc, char* argv[]){ SetConsoleTitle("1111111111"); HANDLE hInput = GetStdHandle(STD_INPUT_HANDLE); // 获取标准输入设备句柄 INPUT_RECORD inRec; DWORD res; while (1) {...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行