字符集字符顺序 [英] Order of the characters in character set
问题描述
是它保证了标准字符的顺序?我可以指望的1的符号由'2'符号后面的字符集表,例如?或者是特定于平台的?
Is it guarantees by the standard the order of the characters? Can i count that '1' symbol are followed in the character set table by the '2' symbol, for example? Or is it platform-specific?
推荐答案
1999年C标准说,这对字符集:
The C standard from 1999 says this about the character sets:
这两个基本来源和基本执行字符集应具有以下成员:结果
拉丁字母结果的26个大写字母
...结果
拉丁字母结果的26个小写字母
...结果
10个十进制数字结果
0 1 2 3 4 5 6 7 8 9搜索
以下29图形字符结果
...结果
在源和执行的基本字符集,每个字符的十进制数字上面的列表0后的值应大于previous价值较大者。
Both the basic source and basic execution character sets shall have the following members:
the 26 uppercase letters of the Latin alphabet
...
the 26 lowercase letters of the Latin alphabet
...
the 10 decimal digits
0 1 2 3 4 5 6 7 8 9
the following 29 graphic characters
...
In both the source and execution basic character sets, the value of each character after 0 in the above list of decimal digits shall be one greater than the value of the previous.
这篇关于字符集字符顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!