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, and binary numbers?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A char is an integer, no need for conversion functions.
Maybe you are looking for functions that display integers as a string – using hex, binary or decimal representations?