title: Is there a function that returns the ASCII value of a character? (C++)
body: <p>I need a function that returns the ASCII value of a character, including spaces, tabs, newlines, etc...</p>
  
  <p>On a similar note, what is the function that converts between hexadecimal, decimal, and binary numbers?</p>