| Server IP : 127.0.1.1 / Your IP : 216.73.216.152 Web Server : Apache/2.4.52 (Ubuntu) System : Linux bahcrestlinepropertiesllc 5.15.0-113-generic #123-Ubuntu SMP Mon Jun 10 08:16:17 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/bahcrestline/core/vendor/scrivo/highlight.php/test/markup/cpp/ |
Upload File : |
// Unicode literals auto str = "Hello regular string"; auto utf8 = u8"Hello utf-8 string"; auto utf16 = u"Hello utf-16 string"; auto utf32 = U"Hello utf-32 string"; // Wide-character strings auto wide_char = L"Hello wchar_t string"; auto lr = LR"(Hello world)"; // character literals auto wide_char = L'H'; auto cr = '\n'; auto chr = 'H'; auto utf8 = u8'H'; auto utf16 = u'H'; auto utf32 = U'H'; auto unicode = L'\u202e' auto hex = '\xFF' auto octal = '\123' // Raw string literals (multiline) auto char_multi = R"(Hello "normal" multiline string.)"; auto utf8_multi = u8R"(Hello "utf-8" multiline string)"; auto utf16_multi = uR"(Hello "utf-16" multiline string)"; auto utf32_multi = UR"(Hello "utf-32" multiline string)"; // Raw string literals with delimiter (multiline) auto char_multi = R"blah1(Hello "normal" multiline )" )blah" string.)blah1"; auto utf8_multi = u8R"blah2(Hello "utf-8" multiline )" )blah" string)blah2"; auto utf16_multi = uR"blah3(Hello "utf-16" multiline )" )blah" string)blah3"; auto utf32_multi = UR"blah4(Hello "utf-32" multiline )" )blah" string)blah4"; // Meta strings #include <stdio> #include "lib.h"