Re: [Dev-C++] how do you convert char to int?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel A. <bt...@ca...> - 2001-12-10 02:33:37
|
One way to do this is to use a bit mask- the ascii code for 7 is 011 0111, while the number 7 in bin is 000 0111. I am pressed for time, but send me a message and I will respond in more detail. D. |