>>>>> "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.

Reply via email to