C ++ data type text constant

xiaoxiao2021-03-06  37

Integer: Int: Short: long: floating point float: double: long double: Boolean Bool: Wide character text Wchar_t: float In memory: 1 sign bit, 8-position line, 23 midtail. Double in memory: 1 bit symbol bit, 11-position line, 52-bit mantissa. The integer text constant is considered a symbol INT type in the default. Add L or U after the integer text constant, indicate that it is long or no symbolic text constant. Floating-point text is often considered a Double type in the default. Add F after constant, indicate it as a float type, then add L, indicated as a long Double type. L, f can only be used in decimalization. The non-printing characters are represented by the following escape sequence: newline / NHORIZONTAL TAB (horizontal tab) / TVertical Tab (vertical tab) / vBackspace (retractable) / bcarriage return (Enter key) / RFORMFEED / FALERT (Bell) / ABACkslash / question mark /? Single Quote / 'Double Quote / "General The escape sequence is used in the following format / OOO to represent the value of the sequence eight-enveloped sequence of three octal numbers, representing the number of the digital value in the machine character set, represents the text constant / 7 (Bell) ) / 14 (NULL) / 0 (NULL) / 062 ('2')

转载请注明原文地址:https://www.9cbs.com/read-67756.html

New Post(0)