时间很仓促,写的很乱,也就能用明天一天了。主要还是学习这个过程
#include <Windows.h>
#include <stdio.h>
#include <iostream>
#include <stdlib.h>
using namespace std;
int main()
{
cout<<"*************************************************************"<<endl;
cout<<" 天猫抢红包小辅助工具----By L0g1n "<<endl;
cout<<" 若焦点不太准确,请自行处理 "<<endl;
cout<<"*************************************************************"<<endl;
cout<<"请打开tmall.com,点击一次“抢”,不要关闭出来的窗口"<<endl;
system("pause");
POINT ps;
cout<<"请把鼠标移动(不要点击)到‘加油!不要灰心’关闭处,等待5秒"<<endl;
Sleep(5000);
GetCursorPos(&ps);
cout<<"关闭按钮图标已获得"<<endl;
cout<<"请输入间隔时间(建议100--