CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 06:13:23 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=0498f554c74fffcd0e1b67fddb22c0c12c20cd8ea9d26944622443f4ac2fa209a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22e-xCYaZ8sJQRRN1qbQsYIOD5AYCI1fTw%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cc3613ca64c1cc-BLR
#include <iostream>using namespace std;int main() { // Сырые строки ( - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- // Сырые строки (raw strings) - эскейп-последовательности не обрабатываются
- string raw_str = R"(Путь: C:\Users\Name\nТекст с "кавычками")";
- cout << raw_str << endl;
- // Обычная строка для сравнения
- string normal_str = "Путь: C:\\Users\\Name\\nТекст с \"кавычками\"";
- cout << normal_str << endl;
- return 0;
- }
- /*
- Последовательность Значение
- \n Новая строка (LF)
- \r Возврат каретки (CR)
- \t Горизонтальная табуляция
- \v Вертикальная табуляция
- \b Backspace
- \f Form feed
- \a Звонок (alert)
- \\ Обратный слэш
- \' Одинарная кавычка
- \" Двойная кавычка
- \? Вопросительный знак
- \0 Нулевой символ
- \ooo Восьмеричный код символа
- \xhh Шестнадцатеричный код символа
- */
- #include <iostream>
- #include <string>
- using namespace std;
- int main() {
- // Форматирование вывода
- cout << "Таблица результатов:" << endl;
- cout << "====================" << endl;
- cout << "Имя\t|\tБаллы\t|\tОценка" << endl;
- cout << "----------------------------" << endl;
- cout << "Анна\t|\t95\t|\tA" << endl;
- cout << "Иван\t|\t87\t|\tB" << endl;
- // Многострочный текст
- string message = "Первая строка\n"
- "Вторая строка\n"
- "Третья строка";
- cout << message << endl;
- // Пути к файлам
- string path = "C:\\Users\\Name\\Documents\\file.txt";
- cout << "Путь: " << path << endl;
- // JSON-подобная строка
- string json = "{\n\t\"name\": \"John\",\n\t\"age\": 30\n}";
- cout << json << endl;
- return 0;
- }
- ///////////////////////////////////////////////////////////////////
- #include <iostream>
- using namespace std;
- int main() {
- // Восьмеричные коды символов
- cout << "Символ: \101" << endl; // 'A' в восьмеричной системе
- // Шестнадцатеричные коды символов
- cout << "Символ: \x41" << endl; // 'A' в шестнадцатеричной системе
- // Unicode символы
- cout << "Смайлик: \u263A" << endl; // ☺
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 8 sec ago | 0.24 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 17 sec ago | 0.24 KB
-
⭐✅ Trading Profit Method ✅ NEVER SEEN BEFORE...
JavaScript | 30 sec ago | 0.24 KB
-
⭐ Instant BTC Profit Method ✅ NEVER SEEN BEFO...
JavaScript | 43 sec ago | 0.24 KB
-
⭐✅ MAKE $2000 INSTANTLY ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 52 sec ago | 0.24 KB
-
⭐ Free Crypto Method ✅ NEVER SEEN BEFORE ⭐⭐⭐
JavaScript | 1 min ago | 0.24 KB
-
✅⭐ Make huge profits on trading ✅ NEVER SEEN...
JavaScript | 1 min ago | 0.24 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 1 min ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand