#include<iostream>
using namespace std;
int main()
{
//转义字符
//1.换行符 n
cout << "helloworldn";
//2.反斜杠 \;
cout<<"\"<<endl;
//3.水平制表符 t 作用:整齐输出数据
cout << "aathello" << endl;
cout << "aaathello" << endl;
cout << "aaaathello" << endl;
system("pause");
return 0;
}
最后
以上就是坚定天空最近收集整理的关于数据类型:转义字符的全部内容,更多相关数据类型内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复