About 7,550 results
Open links in new tab
  1. Printing chars and their ASCII-code in C - Stack Overflow

    Sep 24, 2009 · How do I print a char and its equivalent ASCII value in C?

  2. Convert ASCII number to ASCII Character in C - Stack Overflow

    Jul 12, 2011 · In C is there a way to convert an ASCII value typed as an int into the the corresponding ASCII character as a char?

  3. How to use symbols of extended ASCII table in C?

    Nov 10, 2014 · 18 It's better to use unicode than extended ASCII, which is non-standard. A thread about printing unicode characters in C : printing-utf-8-strings-with-printf-wide-vs-multibyte-string-literals But …

  4. What is the default encoding for C strings? - Stack Overflow

    Oct 22, 2010 · A c string is pretty much just a sequence of bytes. That means, that it does not have a well-defined encoding, it could be ASCII, UTF8 or anything else, for that matter. Because most …

  5. How to convert an ASCII character into an int in C

    Mar 16, 2011 · You can also explicitly convert it with (int)c. If you mean something else, such as how to convert an ASCII digit to an int, that would be c - '0', which implicitly converts c to an int and then …

  6. c - Relationship between char and ASCII Code? - Stack Overflow

    Jul 14, 2017 · C doesn't require a specific character encoding, but most systems nowadays use a superset of ASCII (this is a very old encoding using only 7 bits) like e.g. UTF-8. So, if you have a …

  7. Unicode stored in C char - Stack Overflow

    Apr 5, 2012 · For ASCII however; bytes having decimal 128 - 255, (8 bits in use), is extended, and not part of the ASCII set. I.e. ISO-8859 uses this range. What is often done; is also to combine two or …

  8. binary - Is there a function that returns the ASCII value of a ...

    May 10, 2009 · 19 I need a function that returns the ASCII value of a character, including spaces, tabs, newlines, etc... On a similar note, what is the function that converts between hexadecimal, decimal, …

  9. char - What is the symbol for whitespace in C? - Stack Overflow

    May 4, 2015 · In ASCII, space is code 32, so you could specify space by '\x20' or even 32, but you really shouldn't do that. Aside: the word "whitespace" is a catch all for space, tab, newline, and all of that.

  10. How to get a char from an ASCII Character Code in C#

    Jul 9, 2016 · 105 I'm trying to parse a file in C# that has field (string) arrays separated by ASCII character codes 0, 1 and 2 (in Visual Basic 6 you can generate these by using Chr (0) or Chr (1) etc.) …