>>>>> "MAA" == Mansour A Al-Saleh <[EMAIL PROTECTED]> writes:
MAA> I use Code warrior 5. In C, one can write:
MAA> char c;
MAA> int i;
MAA> i = int (c);
MAA> to get the integer value of the character c, unfortunately this is not
MAA> acceptable by the Code Warrior compiler, so what is the way to get the
MAA> integer value of an char ?
i = (int)c;
You need ( and ) between "TYPE" and not "value".
#you can, but you need not to.
- How to get the integer(ordinal number) value of a char... Mansour A. Al-Saleh
- Re: How to get the integer(ordinal number) value ... Ralf Beckers
- Re: How to get the integer(ordinal number) value ... Kenichi Okuyama
- Re: How to get the integer(ordinal number) value ... Chris Antos
