开发者

How to print custom characters

I want to开发者_如何转开发 know how I can include special characters in C Strings, i.e.:

char a[] = "Hello \120"; // This is just an example

Then a should contain "Hello <120th character>".

How can I do this in C?


In hex: char a[] = "Hello \x78";

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜