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

📄 ustring.h

📁 PGP8.0源码 请认真阅读您的文件包然后写出其具体功能
💻 H
字号:
/*____________________________________________________________________________
		Copyright (C) 2002 PGP Corporation
        All rights reserved.

        $Id: UString.h,v 1.4 2002/08/06 20:10:38 dallen Exp $
____________________________________________________________________________*/

#ifndef Included_UString_h	// [
#define Included_UString_h

#include "pgpClassesConfig.h"

_PGP_BEGIN

namespace UString
{
	inline 
	PGPUInt8 
	LetterToNumber(char c)
	{
		return (toupper(c) - 'A');
	}

	inline 
	char 
	NumberToLetter(PGPUInt8 n)
	{
		return (n + 'A');
	};

	inline 
	char 
	LastChar(const char *string)
	{
		return string[strlen(string) - 1];
	}

	void	SmartStringCopy(char *outString, const char *inString, 
		PGPUInt32 outBufSize);
}

_PGP_END

#endif	// Included_UString_h

⌨️ 快捷键说明

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