C++ 字符串操作函数集合(部分)
来源:互联网 发布:网络有真的恋人吗 编辑:程序博客网 时间:2024/06/07 00:37
String Manipulation (CRT)
String manipulation routines operate onnull-terminated single-byte character and wide-character strings. Use thebuffer-manipulation routines, described in Buffer Manipulation, to work withcharacter arrays that do not end with a null
character.
Generally, Windows CE supportswide-character versions of functions rather than other versions. This enablesWindows CE to support Unicode while keeping the library compact.
Routine Use
sprintf, swprintf
strcat, wcscat
strchr, wcschr
strcmp, wcscmp
strcpy, wcscpy
strcspn, wcscspn
string
_strdup, _wcsdup
_stricmp, _wcsicmp
strlen, wcslen Finds
_strlwr, _wcslwr
strncat, wcsncat
strncmp, wcsncmp
strncpy, wcsncpy
_strnicmp, _wcsnicmp
_strnset, _wcsnset
strpbrk, wcspbrk
strrchr, wcsrchr
_strrev, _wcsrev
_strset, _wcsset
strspn, wcsspn
strstr, wcsstr
strtod, wcstod
strtok, wcstok
strtol, wcstol
strtoul, wcstoul
_strupr, _wcsupr
Writes formatted data to a string
Appends one string to another
Finds first occurrence of specified character in string
Compares two strings
Copies one string to another
Finds first occurrence of character from specified character set in
Duplicates string
Compares two strings without regard to case
length of string
Converts string to lowercase
Appends characters of string
Compares characters of two strings
Copies characters of one string to another
Compares characters of two strings without regard to case
Sets first n characters of string to specified character
Finds first occurrence of character from one string in another string
Finds last occurrence of given character in string
Reverses string
Sets all characters of string to specified character
Finds first substring from one string in another string
Finds first occurrence of specified string in another string
Converts to double-precision value
Finds next token in string
Converts to long integer value
Converts to unsigned long integer value
Converts string to uppercase
See Also
Microsoft C Run-time Library for Windows CE| Run-time Library Reference
MSDN2008:ms-help://MS.MSDNQTR.v90.chs/wceappdev5/html/wce50constringmanipulation.htm
- C++ 字符串操作函数集合(部分)
- C语言字符串函数总结(部分常见字符串函数)
- C语言-文件操作函数(部分)
- C++字符串操作函数集合
- C字符串操作函数
- C字符串操作函数
- C字符串操作函数
- c 字符串操作函数
- C--字符串操作函数
- c库函数 strring.h字符串操作(部分常用实现)
- 字符串部分操作的函数实现
- C库函数中字符串处理函数集合(转)
- C语言部分字符串处理函数
- C字符串操作:查找字符串函数strstr()
- C语言字符串操作函数
- C字符串操作函数实现
- C语言字符串操作函数
- C语言字符串操作函数
- 基于FBX SDK的FBX模型解析与加载 -(四)
- fedora 16 安装 texlive 2011
- linux
- 硬盘结构,主引导记录MBR,硬盘分区表DPT,主分区、扩展分区和逻辑分区
- 第十二章 使用结构和指针 [c和指针]
- C++ 字符串操作函数集合(部分)
- Linux系统引导过程及硬盘分区结构论述
- synchronized同步机制
- TCP详解
- Linux命令行报bash:.....:command not found的解决办法
- 为firefox的搜索栏添加baidu搜索
- CLR概述
- python学习系列之OS模块介绍
- 动态规划----FatMouse’s Speed(HDU 1160)