摘要: >____max){119 max=grades[0][m];120 u=m; 121 }122 else if(grades[0][m]==max){123 if(grades[1][m]>grades[1][u])u=m;124 }125 126 if(grades[1][m]>max){127 max=grades[1][m];128 ... 阅读全文
posted @ 2014-03-26 17:58 beautifulzzzz 阅读(1812) 评论(0) 推荐(1) 编辑
摘要: TicTac.h 1 #define EX 1 //该点左鼠标 2 #define OH 2 //该点右鼠标 3 4 class CMyApp : public CWinApp 5 { 6 public: 7 virtual BOOL InitI... 阅读全文
posted @ 2014-03-26 12:34 beautifulzzzz 阅读(5225) 评论(0) 推荐(0) 编辑
摘要: 在整数n的所有不同划分中,将最大加数n1不大于m的划分个数记为q(n,m),则q的递推关系式为: 1 #include 2 using namespace std; 3 int q(int n,int m){ 4 if((n>n){14 cout<<n<<" 的划分数量为 :... 阅读全文
posted @ 2014-03-26 11:05 beautifulzzzz 阅读(856) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 /* 8 问题检查函数 9 参数:输入的字符串10 返回:BOOL11 真表示为编码问题12 假表示为解码问题13 */1... 阅读全文
posted @ 2014-03-26 10:54 beautifulzzzz 阅读(3196) 评论(1) 推荐(0) 编辑
摘要: a、鼠标软件模拟,函数SendMessageb、分析窗口内棋子相对坐标X,Yc、软件模拟点击棋盘坐标x,y处的棋子::SendMessage(hwnd,WM_LBUTTOMDOWN,0,YX);//hwnd=FindWindow(NULL,游戏标题);::SendMessage(hwnd,WM_LBUTTOMUP,0,YX); //PostMessage/mouse_event>__< : 新加入一个int 类m_pos变量 1 void CFewDlg::OnButton4() //外挂程序 2 { 3 CString POS;// 4 GetDlgItemText(IDC_.. 阅读全文
posted @ 2014-03-26 00:14 beautifulzzzz 阅读(1377) 评论(0) 推荐(0) 编辑