摘要: int reverse(int x){ int arr[32] = {0}; int bit = 0; long long Integer = 0; while(x) { arr[bit] = x % 10; x = x / 10; bit++; } int Loopbit = bit; bit - 阅读全文
posted @ 2020-08-13 18:22 温暖了寂寞 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 汇编语言 标志位介绍 一、运算结果标志位1、进位标志CF(Carry Flag) 进位标志CF主要用来反映运算是否产生进位或借位。如果运算结果的最高位产生了一个进位或借位,那么,其值为1,否则其值为0。 使用该标志位的情况有:多字(字节)数的加减运算,无符号数的大小比较运算,移位操作,字(字节)之间 阅读全文
posted @ 2020-08-05 19:58 温暖了寂寞 阅读(1383) 评论(0) 推荐(0) 编辑
摘要: 1 VK_LBUTTON 鼠标左键 2 VK_RBUTTON 鼠标右键 3 VK_CANCEL Ctrl+Break(通常不需要处理) 4 VK_MBUTTON 鼠标中键 8 VK_BACK Backspace 9 VK_TAB Tab 12 VK_CLEAR Num Lock关闭时的数字键盘5 1 阅读全文
posted @ 2020-07-16 15:01 温暖了寂寞 阅读(2495) 评论(0) 推荐(0) 编辑
摘要: //查找窗口 TCHAR szTitle[MAX_PATH] = {0}; HWND hwnd = ::FindWindow(TEXT("#32770"),"PE工具"); if(hwnd != NULL) { //修改窗口标题 ::SetWindowText(hwnd,"PE工具123"); } 阅读全文
posted @ 2020-07-16 14:58 温暖了寂寞 阅读(411) 评论(0) 推荐(0) 编辑
摘要: // 信号量作业.cpp : Defines the entry point for the application. // #include "stdafx.h" #include <stdio.h> #include "resource.h" #include <string.h> HWND h 阅读全文
posted @ 2020-07-14 09:44 温暖了寂寞 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #include "StdAfx.h" #include <stdio.h> #include <stdlib.h> typedef union { int intType; char charType; float floatType; const char* stringType; } AnyT 阅读全文
posted @ 2020-07-07 17:25 温暖了寂寞 阅读(1850) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include <WINDOWS.H> int main(int argc, char* argv[]) { SECURITY_ATTRIBUTES sa_p; sa_p.nLength = sizeof(sa_p); sa_p.lpSecurityDesc 阅读全文
posted @ 2020-07-01 22:26 温暖了寂寞 阅读(1339) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include <WINDOWS.H> int main(int argc, char* argv[]) { SECURITY_ATTRIBUTES sa_p; sa_p.nLength = sizeof(sa_p); sa_p.lpSecurityDesc 阅读全文
posted @ 2020-07-01 18:24 温暖了寂寞 阅读(239) 评论(0) 推荐(0) 编辑
摘要: // 消息句柄继承.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <WINDOWS.H> int main(int argc, char* argv[]) { SE 阅读全文
posted @ 2020-07-01 16:09 温暖了寂寞 阅读(434) 评论(0) 推荐(0) 编辑
摘要: // remote06.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "windows.h" BOOL func(DWORD ProcessID,char* Dll 阅读全文
posted @ 2020-06-30 18:36 温暖了寂寞 阅读(168) 评论(0) 推荐(0) 编辑