03 2021 档案

C# 从url获取get参数键值对
摘要:Dictionary<string, string> getQueryStringFromURL(string url) { var result = new Dictionary<string, string>(); var uri = new Uri(url, true); var queryS 阅读全文

posted @ 2021-03-16 13:46 空明流光 阅读(1311) 评论(0) 推荐(0) 编辑

自动调用 Visual Studio 编译项目
摘要:命令如下:devenv 解决方案文件.sln /build [ 解决方案配置 ] [ /project 项目名称或文件 [ /projectconfig 名称 ] ] 1.编译整个解决方案: devenv YourSolution.sln /Build 2.以 Release|Any CPU 配置重 阅读全文

posted @ 2021-03-04 14:53 空明流光 阅读(367) 评论(0) 推荐(0) 编辑

c++ 直接读取 cpu id
摘要:#include <iostream> using namespace std; #include <string> #include <comutil.h> #include "Windows.h" #include <atlconv.h> #include <intrin.h> #include 阅读全文

posted @ 2021-03-02 16:40 空明流光 阅读(2473) 评论(0) 推荐(0) 编辑

c++ vector 的使用
摘要:vector<map<string, string>> records; map<string, string> record; record.insert(pair<string, string>("key", "value")); records.push_back(record); for ( 阅读全文

posted @ 2021-03-02 10:00 空明流光 阅读(114) 评论(0) 推荐(0) 编辑

windows 通过wmi获取硬盘以及所有分区
摘要:第一步: select * from Win32_DiskDrive 第二步:Associators of {Win32_DiskDrive.DeviceID='\\.\PHYSICALDRIVE0'} where AssocClass=Win32_DiskDriveToDiskPartition 阅读全文

posted @ 2021-03-01 18:03 空明流光 阅读(1286) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示