ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
11 июля
360011 Топик полностью
Codavr (06.10.2012 01:51 - 01:57, просмотров: 200) ответил MegaJohn на есть массив
Попробуй \12 но странно все это ибо http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf
Escape sequences and universal-character-names in non-raw string literals have the same meaning as in character literals (2.14.3), except that the single quote ’ is representable either by itself or by the escape sequence \’, and the double quote " shall be preceded by a \. In a narrow string literal, a universal-charactername may map to more than one char element due to multibyte encoding. The size of a char32_t or wide string literal is the total number of escape sequences, universal-character-names, and other characters, plus one for the terminating U’\0’ or L’\0’. The size of a char16_t string literal is the total number of escape sequences, universal-character-names, and other characters, plus one for each character requiring a surrogate pair, plus one for the terminating u’\0’. [ Note: The size of a char16_t string literal is the number of code units, not the number of characters. —end note ] Within char32_t and char16_t literals, any universalcharacter- names shall be within the range 0x0 to 0x10FFFF. The size of a narrow string literal is the total number of escape sequences and other characters, plus at least one for the multibyte encoding of each universal-character-name, plus one for the terminating ’\0’.
Долой империалистический интернационал!