首页 > 其他 > 详细

011.数据类型-转义字符

时间:2021-09-04 03:08:45      阅读:27      评论:0      收藏:0      [点我收藏+]

技术分享图片

#include <iostream>
using namespace std;
int main()
{
    //转义字符

    //换行符\n
    cout << "你好啊\n学生";



    //反斜杠\\

    cout << "\\" << endl;

    //水平制表符\t     作用整齐
    cout << "aaa\thelloword"<<endl;
    cout << "aaaa\thelloword" << endl;
    cout << "aa\thelloword" << endl;
    cout << "aaaa\thelloword" << endl;

    system("pause");
    return 0;
}

 

011.数据类型-转义字符

原文:https://www.cnblogs.com/ceovs/p/15221648.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!