??? 12/21/08 01:15 Read: times |
#161084 - So you found someone's code ... Responding to: ???'s previous message |
Apparently you found some "canned" code someone else wrote.
The real questions would be, "Do you know how checksums work and how to code them? Do you know what this code does? Do you know how to use it?" I'll bet you still can't honestly answer that with a "yes." Do you know what { checksum += *start_addr; } does? Is if (checksum != 0x80) a valid test for all possible code within the "range?" Why is that the case? Is for (; len > 0; len--, start_addr++) a valid 'C' statement? Why is that the case? Are you aware that some of the code you've "snagged" is irrelevant to the checksum process? Why is that the case? Maybe that's why you don't know what the role of the timers is! Have you read the textbook at all? Have you managed to learn, at least, a mimimal amount about 'C'? RE |
Topic | Author | Date |
Help me for checksum | 01/01/70 00:00 | |
Do you need someone to breathe for you too? | 01/01/70 00:00 | |
Score | 01/01/70 00:00 | |
link: www.google.com | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
So you found someone's code ... | 01/01/70 00:00 | |
Checksum | 01/01/70 00:00 | |
don't even go there | 01/01/70 00:00 | |
Checksum | 01/01/70 00:00 | |
I suggest | 01/01/70 00:00 | |
checksum | 01/01/70 00:00 | |
This must be VERY difficult. | 01/01/70 00:00 | |
the very fact | 01/01/70 00:00 | |
re: checksum![]() | 01/01/70 00:00 |