1. #include <iostream>
    2. using namespace std;
    3. // 8
    4. int main() {
    5. // 转义字符
    6. // 换行符 \n
    7. cout << "hello world \n";
    8. // 反斜杠
    9. cout << "\\" << endl;
    10. // 水平制表符 \t 作用可以整齐输出数据
    11. cout << "aaaa\thello world" << endl;
    12. cout << "aa\thello world" << endl;
    13. cout << "aaaaaa\thello world" << endl;
    14. system("pause");
    15. return 0;
    16. }