[A89] Re: Trying to kill the hex myth (was: Re: Re: graphics question)
[Prev][Next][Index][Thread]
[A89] Re: Trying to kill the hex myth (was: Re: Re: graphics question)
I didn't know that-I thought I read in the TIGCC documentation that C does not have binary
support. Sorry, TerrisUS.
jeff
> I don't know who came up with this idea, but _everyone_ seems to belive it...
> you DO NOT have to use hex to specify sprite data in TIGCC, you can just as
> well use binary it you feel that is more comfortable. (or decimal for that
> matter)
> for specifying a binary number, use 0b instead of 0x in the beginning.
>
> so 0xAA would be 0b10101010 (or 170 decimal, but that is hardly very
> intuiative.)
> Its all the same value you tell the compiler to put in the memorypos, how
> you present it in your program is totally irrellevant for how the program
> works.
>
> ...
>
> Its always good to understand how different bases like hex and binary and
> decimal work thouh.
>
> ///Olle
>
>
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Follow-Ups:
References: