Timeline for Translating a C binary data read function to Python
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 24, 2011 at 6:35 | comment | added | Eric O. Lebigot |
So, naturally enough, C's memcmp() is equivalent to Python's cmp(). :)
|
|
| Aug 21, 2011 at 17:15 | comment | added | user626998 | Ahhhhh fantastic, thanks! Yes, that's exactly the problem. I've encountered memcmp a few times so far and I keep having to actively remind myself of how it works. | |
| Aug 21, 2011 at 17:13 | vote | accept | Community Bot | ||
| Aug 21, 2011 at 17:02 | history | answered | DSM | CC BY-SA 3.0 |