如何在不删除C ++的情况下将\x1 \x2 \x3 ...字符转换为普通字符 [英] how to convert \x1 \x2 \x3 ... characters to normal characters without erasing in c++

查看:399
本文介绍了如何在不删除C ++的情况下将\x1 \x2 \x3 ...字符转换为普通字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,对于noob问题感到抱歉,这些1x1 ..\x2 ..\x3字符是什么,以及如何将其转换为普通字符?

Hi guys sorry for the noob question what are those \x1 ..\x2 ..\x3 characters and how to convert these to normal characters?

推荐答案

它们是具有顺序值1、2和3的字符。它们被称为控制字符且不可打印,这就是调试器向您显示其转义表示的原因

They are characters with the ordinal values 1, 2, and 3. They are called control characters and are not printable, which is why the debugger is showing you their escaped representation.

您可以在 ASCII中查找控制字符表

这篇关于如何在不删除C ++的情况下将\x1 \x2 \x3 ...字符转换为普通字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆