Original Post
Ok, I have a few general questions that I hope maybe someone can help me with.
question 1:
Question about floating points. I know that the processor sees only 1''s and 0''s, with that in mind how does it handle floating points? example, I know 16 = 10000 = 0x10 but how do you make 16.1 or 16.555 or 16.324543 into a binary number? I know people say it''s faster to use integers rather than decimals. The reason I know this is because people tell me. I have been told it''s faster but never have been told why it''s faster. So, why is it faster?
question 2:
The pre-processor #pragma. When is this pre-processor used? I see it in some professional programs but never really see it in general programs. I looked in the helf files but in my opinion it''s kinda crypic so I thought maybe someone can tell me what it means in english??
question 3:
What is the difference between aligning data addresses in 4 bytes and aligning data addresses in 16 bytes? Also, what does it mean by data being aligned too?
question 4:
I know that sprites are bitmap images used for animation. What''s the differnce between bitmaps moving around on a screen and a sprite?
question 5:
The last question is about algorithm. When your first starting to learn graphics programming, is it better to use a algorithm that is already out there or is it better to come up with your own stuff? Like line algorithems, would it be better to use all the algorithms out there in computer books or come up with your own?
question 6:
About Assembly. Does anyone know where I can read about 32 bit assembly? Maybe recommend a book or something.
I sure hope someone could help me with some of these questions. Thanks in advance!
Michael