1.ç¼ç¨ç¨forå1+2+4+8.....+1024
2.按键精灵源代码
ç¼ç¨ç¨forå1+2+4+8.....+1024
#include <iostream>
using namespace std;
int main()
{
int sum = 0;
for(int i=1;i<=;++i)
sum += i;
cout << "1+2+3+...+ = " << sum << endl;
return 0;
}
è¿æ¯C++æºä»£ç ã
按键精灵源代码
FindColor 0,源码0,,,"FF",intX,intY (前4个数字设置屏幕上找色的范围,FF是源码hexedit源码设置的颜色,自己调整)
If intX > 0 And intY > 0 The源码救救这只猪源码n
MoveTo intX, intY
Delay
LeftClick 1
Delay
End If