自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

RootSuper

C++ 学习中!

  • 博客(13)
  • 资源 (6)
  • 收藏
  • 关注

原创 C++ std::vector<MyStruct> 去重复

#include &lt;iostream&gt;#include &lt;string&gt;#include &lt;vector&gt;#include &lt;algorithm&gt;struct MyStruct{ std::string a1; std::string a2; std::string a3; bool operator &lt;(const M...

2019-01-16 01:00:44 689

原创 C++ Win32 Api 实现了atlconv.h 编码转换的功能

textconv_helper.hpp/** Author: LowBoyTeam (https://github.com/LowBoyTeam)* License: Code Project Open License* Disclaimer: The software is provided &quot;as-is&quot;. No claim of suitability, guarantee, or an

2017-02-15 17:52:33 886

原创 C++ 使用模板(template) 扩展std::string

C++ 使用模板(template) 扩展std::stringstring_helper.hpp/** Author: LowBoyTeam (https://github.com/LowBoyTeam)* License: Code Project Open License* Disclaimer: The software is provided &quot;as-is&quot;. No claim of

2017-02-15 16:40:37 851

原创 树莓派 raspberrypi-dnspod

dnspod.py 是基于 DNSPod 服务的动态 DNS 脚本,用于检测 IP 变化并更新至 DNSPod。支持 Linux 设备,包括树莓派(Raspberry Pi)。raspberrypi-dnspoddnspod.py 是基于 DNSPod 服务的动态 DNS 脚本,用于检测 IP 变化并更新至 DNSPod。支持 Linux 设备,包括树莓派(Raspberry Pi)。 如果域名

2016-12-22 15:16:44 446

原创 C++ 获取计算机语言和国家

#include "stdafx.h"#include <windows.h>#include <Urlmon.h>#pragma comment(lib, "Urlmon")int main(){ TCHAR szLanguage[MAX_PATH] = { 0 }; TCHAR szCountry[MAX_PATH] = { 0 }; // Get language

2016-12-22 13:03:12 923

原创 C++ 获取父进程PID

我们可以使用ntddl.dll中有一个函数叫NtQueryInformationProcess,用它可以将指定类型的进程信息拷贝到某个缓冲。其原型如下:NTSYSAPINTSTATUSNTAPINtQueryInformationProcess (IN HANDLE ProcessHandle, // 进程句柄IN PROCESSINFOCLASS InformationClass, //

2016-12-22 12:56:16 2061 2

原创 C++ 隐藏系统托盘图标(支持XP-Win10)

#include "stdafx.h"#include #include #include BOOL IsWow64(){ BOOL bIsWow64 = FALSE; //IsWow64Process is not available on all supported versions of Windows. //Use GetModuleHandle to get a han

2016-06-07 07:26:03 1795 1

原创 C# 微软 SAPI.SpVoice 简单使用

网上找了好多资料也没找到多少  支持返回当前朗读的位置 用到了C#的回调函数 然后为了方便使用 我多此一举的封装了下 没什么技术含量 大牛直接飞过using System;using System.Collections.Generic;using System.Text;using DotNetSpeech;using System.Threading;using

2013-01-30 06:25:24 11443 2

原创 C# 窗口打开和关闭淡入淡出效果

#region 窗体关闭效果#region 私有方法[DllImportAttribute("user32.dll")]private static extern bool AnimateWindow(IntPtr whnd, int dwtime, int dwflag);#endregion/*1. AW_SLIDE : 使用滑动类型, 默认为该类型. 当使用 AW_CENTE

2013-01-19 23:46:28 1665

原创 C# 验证识别类

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Drawing;using System.Drawing.Imaging;using System.Runtime.InteropServices;namespace 验证码处理{ c

2012-11-02 02:05:03 3568 2

原创 C# API拖动无边框窗口

//函数的作用是为当前的应用程序释放鼠标的捕获 [DllImport("user32.dll")] private static extern bool ReleaseCapture(); //函数的作用是发送消息 [DllImport("user32.dll")] private static extern boo

2012-10-26 08:16:06 1473

原创 C# String和byte[]的转换

string类型转成byte[]: byte[] byteArray = System.Text.Encoding.Default.GetBytes ( str ); byte[]类型转成string: string str = System.Text.Encoding.Default.GetString ( byteArray ); 其它编码方式的,如

2012-10-13 17:05:00 687

原创 C#字符串操作 取文本左边 取文本右边 取文本中间 取文本中间到List集合 指定文本倒序

/// /// 取文本左边内容 /// /// 文本 /// 标识符 /// 左边内容 public static string GetLeft(string str, string s) { string temp = str.Substring(0, st

2012-08-04 15:41:13 11799 3

微软 SAPI.SpVoice C# 使用方法 + 实例

微软 SAPI.SpVoice C# 使用方法 + 实例

2013-01-30

MyBatis入门到精通 jar包和sql脚本

MyBatis入门到精通 jar包和sql脚本 http://blog.csdn.net/RootSuper

2013-01-24

javamail1.4.5

javamail 发送邮件 mail.jar

2012-11-06

C# POST登录带密保 密保卡的QQ

C#POST模拟登录带密保卡的QQ webQQ协议登录QQ

2012-10-30

javascript脚本调试工具

javascript脚本调试工具 此工具用了 MSScriptControl 微软的脚本控件 有BUG或者建议请留言...... 邮箱:ybhacker@qq.com 运行环境:.net4.0

2012-07-31

C# POST登录迅雷

C# POST登录迅雷

2012-07-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除