LINUX.ORG.RU

В 6.4.5:

In translation phase 6, the multibyte character sequences specified by any sequence of
adjacent character and wide string literal tokens are concatenated into a single multibyte
character sequence. If any of the tokens are wide string literal tokens, the resulting
multibyte character sequence is treated as a wide string literal; otherwise, it is treated as a
character string literal.
Так что языком.

xaizek ★★★★★
()
Последнее исправление: xaizek (всего исправлений: 1)
Ответ на: комментарий от xaizek

Немного устаревшая инфа. Вот с уточнениями из C11:

In translation phase 6, the multibyte character sequences specified by any sequence of
adjacent character and identically-prefixed string literal tokens are concatenated into a
single multibyte character sequence. If any of the tokens has an encoding prefix, the
resulting multibyte character sequence is treated as having the same prefix; otherwise, it
is treated as a character string literal. Whether differently-prefixed wide string literal
tokens can be concatenated and, if so, the treatment of the resulting multibyte character
sequence are implementation-defined.

Sorcerer ★★★★★
()
Ответ на: комментарий от Sorcerer

Ну не особо устаревшая, просто без лишнего. Оно так же и работает, в C11 просто добавили информацию о новых типах литералов, а "" и L"" продолжают неявно конкатенироваться.

xaizek ★★★★★
()
Ответ на: комментарий от dzidzitop

Я кроме инглиша и русского никаких языков не употребляю. Если же нужны умляуты и т.п., есть латех, не нужны они в текстовых файлах!

anonymous
()
Ответ на: комментарий от anonymous

Чем отличается россиянин, который пишет код, от замшелого американца, который пишет код? Тем, что он имеет представление в лучшем случае о двух алфавитах, не об одном.

dzidzitop ★★
()
Последнее исправление: dzidzitop (всего исправлений: 1)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.