Current Forum: Homework 3 Forum |
Date: Thu Sep 27 2001 10:08 pm |
Author: Dozzi, Giancarlo <gdozzi@andrew.cmu.edu> |
Subject: Re: ASCII to (1-256) |
|
|
Simply cast the character to an int:
char c = "f" //Or any other character. int ascii = (int)c; //Dunno what it is exactly.. |
|