摘要: 获得鼠标坐标: #include<bits/stdc++.h> #include<windows.h> using namespace std; int main() { POINT i; for(;;){ GetCursorPos(&i); printf("x..%d,y..%d",i.x,i.y 阅读全文
posted @ 2021-07-27 16:36 计算机知识杂谈 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 先上代码: #include<bits/stdc++.h> #include<windows.h> using namespace std; int main() { int x=GetSystemMetrics(SM_CXSCREEN); int y=GetSystemMetrics(SM_CYS 阅读全文
posted @ 2021-07-27 16:17 计算机知识杂谈 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 病毒代码一#include <bits/stdc++.h> #include <windows.h> using namespace std; void HideWindow() { HWND hwnd; hwnd=FindWindow("ConsoleWindowClass",NULL); if( 阅读全文
posted @ 2021-07-27 09:53 计算机知识杂谈 阅读(3707) 评论(0) 推荐(0) 编辑