- 6
- 0
- 约9.03千字
- 约 15页
- 2017-06-10 发布于河南
- 举报
字符和字符串(国外英文资料)
字符和字符串(国外英文资料)
The use of characters, string types
(1) character type
Character type is defined as a character constant or character variable consisting of a character.
const
Character constants = characters;
Character variable definition:
Var
Character variable: char;
Character type is a sequence type, the size of the characters on the size of the order according to the ASC Ⅱ code, function succ, Mr Pred, word is suitable for the character type, such as:
Subsequent function: succ ( a ) = b
The forward function: pred ( B ) = A
Order function: ord ( A ) = 65
In alphabetical order and in reverse
原创力文档

文档评论(0)