自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 按顺序打印线程

#include #include const DWORD THREAD_NUM = 50;//启动线程数 CRITICAL_SECTION g_cs; HANDLE  g_hThreadEvent; int ThreadNum = 1; DWORD i = 0; DWORD WINAPI ThreadFun(void *pPM)   {     int Rec = *(in

2014-03-21 12:24:18 301

原创 字符删除

bool StrDel(wchar_t* pStrIn,wchar_t* pStrDel) {     wchar_t *pStrDelBak = (wchar_t*)malloc(65536);     wchar_t *pStrInRec = pStrIn;     wchar_t *pStrDelRec = pStrDel;     while(*pStrDelRec != L'\

2014-03-11 09:02:16 394

原创 十六进制转字符串

#include "stdafx.h" wchar_t* HexToStr(wchar_t* pHexIn,int MaxOut) {     int pHexInLen = wcslen(pHexIn);     if(pHexInLen/8         return 0;     wchar_t* pStrOut = (wchar_t*)malloc(MaxOut*sizeof

2014-03-11 08:13:52 696

原创 字符替换

#include "stdafx.h" #include "testdata.h" wchar_t* mystrcat(const wchar_t *str1,const wchar_t *str2,const wchar_t *str3)//str1是原来的字符串,str2是str1中的某段需要替换字符串,str3是替换str2的字符串 {     int strlen1=0,str

2014-03-10 08:10:43 487

空空如也

空空如也

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

TA关注的人

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