Like using printf in C to bring unique character like a cent sign or the sign of the paragraph?

What code need to know? HEX, Unicode ?
July 4th 19 at 23:51
3 answers
July 4th 19 at 23:53
HEX code is the number of the character in Unicode or some other encoding, the ASCII character set.
How can I check ASCII code I know, but that's how it be bracketed? - hollis.Moo commented on July 4th 19 at 23:56
: printf ("%c", i); - will print the character with code equal to i. - robbie.Wuns commented on July 4th 19 at 23:59
July 4th 19 at 23:55
Need to know the ASCII code (many characters are NOT there).
A display can be via \.
will print the percentage.
He did not withdraw. The percentage can be deduced using the special specifier %%. - hollis.Moo commented on July 4th 19 at 23:58
July 4th 19 at 23:57
First, we need to make sure that the console you are working with supports such characters. Here we have a question on this subject (specifically about the Windows; as far as I know, in UNIX a simple UTF-8).
How do I output the sign Σ(Sigma) in C++(console application)?
To display this symbol have...
• or use a "wide" version of the function (wprintf, wcout, etc.).
• or display this symbol in UTF-8.

The original text...
• either to keep UTF-8 and it is a symbol of plaintext;
• or specify the character encoding UTF-16 for "wide" functions are UTF-8 for "narrow".

Find more questions by tags Programming