Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- void main() {
- std::cout << "Hello" << std::endl;
- std::cout << "---------------------\n";
- std::cout << " c++\n";
- std::cout << "Lang\'u\\\\age\n";
- std::cout << "---------------------\n";
- // Табуляция
- std::cout << "1\t2\t3\t4" << std::endl;
- std::cout << "11\t12\t13\t14" << std::endl;
- /*Это комментарий*/
- // Raw - строки
- std::cout << "---------------------\n";
- std::cout << R"(Hello
- I'am Petr. This is \t \n c++
- -----------------)" << std::endl;
- std::cout << "---------------------\n";
- std::cout << "(HelloI'am Petr. This is \t \n c++-----------------)" << std::endl;
- std::cout << "---------------------\n";
- // один std::cout
- std::cout << "TTT"
- << " AAA"
- << "\n";
- setlocale(LC_ALL, "ru");
- std::cout << "По-русски" << std::endl;
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment