to
来自「Algorithms for Image Processing and Comp」· 代码 · 共 55 行
TXT
55 行
@c ----------------------------------------------------------------------
@node tolower, ctype
@heading @code{tolower}
@subheading Syntax
@example
#include <ctype.h>
int tolower(int c);
@end example
@subheading Description
This function returns @var{c}, converting it to lower case if it is
upper case. @xref{toupper}
@subheading Return Value
The upper case letter.
@subheading Example
@example
for (i=0; buf[i]; i++)
buf[i] = tolower(buf[i]);
@end example
@c ----------------------------------------------------------------------
@node toupper, ctype
@heading @code{toupper}
@subheading Syntax
@example
#include <ctype.h>
int toupper(int c);
@end example
@subheading Description
This function returns @var{c}, converting it to upper case if it is
lower case. @xref{tolower}
@subheading Return Value
The upper case letter.
@subheading Example
@example
for (i=0; buf[i]; i++)
buf[i] = toupper(buf[i]);
@end example
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?