⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 string.h

📁 ◆◆◆ 《投掷飞镖记分工具》◆◆◆ 操作系统 : Windows Mobile 5.0 说明 : 中秋节和家人赏月
💻 H
字号:
#pragma once

DLL_INTERNAL CString Data2HexString ( char *data, int size, int nBytesPerLine=16 );
DLL_INTERNAL int ConvStringToHexData(CString csOrgStr, BYTE *szOutBuffer, int nOutBufferSize);
enum
{
	STRING_IS_MULTICHARS = 0,		// 是多字节字符串
	STRING_IS_UNICODE,				// 是UNICODE字符串
	STRING_IS_SOFTCODE,				// 是和程序一样的字符串编码
};
DLL_INTERNAL char* GetMultiByteChar ( LPCTSTR lpszOrg, int nStringEncodeType=STRING_IS_SOFTCODE, OUT char *buf=NULL, int size=0, OUT int *pnCount=NULL );
DLL_INTERNAL CString GetCompatibleString ( LPCTSTR lpszOrg, BOOL bOrgIsUncode );
DLL_INTERNAL int hwSnprintf ( LPTSTR buffer, int count, LPCTSTR format, ... );
DLL_INTERNAL BOOL StringToGUID ( LPCTSTR lpszGUID, GUID &Guid);
DLL_INTERNAL CString GUIDToString ( GUID &Guid );
DLL_INTERNAL CString FormatString ( LPCTSTR lpszStr, ... );
DLL_INTERNAL int CalcCharCount ( LPCTSTR lpszText, TCHAR chCalc );
DLL_INTERNAL CString GetOneLine ( CString &str, LPCTSTR lpszLineEndFlag=_T("\n"), BOOL bEndAsClrf=FALSE );
DLL_INTERNAL int FindGraphPos ( CString &csOrg, int nStartPos );
DLL_INTERNAL int FindNonGraphPos ( CString &csOrg, int nStartPos );
DLL_INTERNAL CString GetOneWord ( CString &csOrg, int nCaseChange=0 );
DLL_INTERNAL void DeleteAfterChar ( CString &csOrg, TCHAR cDel );
DLL_INTERNAL BOOL PartTwoWord ( IN CString &csOrg, OUT CString &csWord1, OUT CString &csWord2, IN TCHAR cPartChr=_T(':') );
DLL_INTERNAL CString IntToString ( int nValue, BOOL bUnsigned=TRUE );
DLL_INTERNAL CString FormatBytes ( double fFileSize );
DLL_INTERNAL TCHAR *hwStrChr ( LPCTSTR string, int c );
DLL_INTERNAL void ReplaceChineseStrToEnglish ( TCHAR *szBuf, TCHAR cReplace );
DLL_INTERNAL void CleanseString ( CString &cs, LPCTSTR lpszApp=NULL );
DLL_INTERNAL int PartStringAndAddToStrAry ( LPCTSTR pStr, CStringArray &StrAry, LPCTSTR seps=_T("\t\r\n") );
DLL_INTERNAL int PartStringAndAddToStrAry ( LPCTSTR pStr, CStringArray &StrAry, TCHAR nPartFlag );
DLL_INTERNAL int PartStringAndAddToStrAry ( LPCTSTR lpszStr, CStringArray &StrAry, TCHAR nFirstFlag, TCHAR nSecondFlag );
DLL_INTERNAL int StrFind ( LPCTSTR lpszOrg, int nStart, TCHAR cFind, ... );
DLL_INTERNAL void UIntAry2StrAry ( IN CUIntArray &UIntAry, OUT CStringArray &StrAry );

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -