| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | QWK problem(s) |
* Reply to a message in MUFFIN.
William McBrine wrote in a message to Bob Jones:
WM> /* get a little-endian short, return an int */
WM> unsigned getshort(const unsigned char *x)
WM> {
WM> return ((unsigned) x[1] << 8) + (unsigned) x[0];
WM> }
What's the effect of that "const" in there?
WM> ... Life is much easier if you look at the source code.
Yeah, if I _had_ the source code available! :-)
---
* Origin: TANSTAAFL BBS 717-838-8539 (1:270/615)SEEN-BY: 633/267 270 @PATH: 270/615 150/220 379/1 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.