当前位置:首页 > xuwenyan
xuwenyan 管理员
暂无介绍
25 篇文章 0 次评论c++获取指定文件的版本号
#include <iostream> #include <Windows.h> #include <tchar.h> #include <string> #include <vector...
使用wmi获取电脑信息(bios序列号、磁盘序列号、cpu序列号、主板序列号、网卡序列号等)
wmi_api.h#ifndef WMI_API_H_ #define WMI_API_H_ #include <string> #include <wbemidl.h> #include <wrl/clie...
git stash被误删除如何还原?
暂存代码后,如果不小心误删除了暂存怎么办,别着急,git 并没有删除包含了我的更改的对象,它只是移除了对它的引用。通过下面步骤,可以还原误删除的stash:1:执行下面命令,将提交缓存输出到find.txt文件git fsck --unreachable | ...
python自动归类代码文件到vs工程筛选器(.vcxproj.filters)
import sys import os def FromLineGetValue(line: str, head: str, tail: str) -> dict: &n...
c++获取windows监视器相关信息
#include <iostream> #include <Wbemidl.h> #include <comutil.h> #pragma comment(lib, "wbemuuid.li...
c++获取windows显卡等显示设备信息
#include <Windows.h> #include <iostream> #include <DXGI.h> #include <vector> #...
c++判断windows电脑是笔记本还是台式机
#include <iostream> #include <Setupapi.h> #pragma comment(lib, "Setupapi.lib") bool IsLaptop() {...
c++通过SMBIOS获取电脑品牌、型号等相关信息
smbios.h#pragma once #include <windows.h> class SMBIOS { private: SMBIOS(); void initialization(void); UIN...
c++获取windows电源电池状态信息
#include <string> #include <vector> int main(int argc, char* argv[]) { SYSTEM_...
文件监控(监控目录文件变化)
#include <iostream> #include <windows.h> #include <tchar.h> #include <iomanip> using namespace&nb...