OK, this is probably the most off-topic, most stupid question asked, but
here goes... All of the C books I've read don't seem to cover this in a
newbie-enough way for me to understand.... I need to know what the
indirection thing does, the ->, and the . do... If someone's going to
reply, please send the e-mail just to me and not the list... As far as I
can tell, you use the '->' when you're accessing a structure within a
structure, and you use '.' when you're accessing a field within the
structures, and I have no clue when to use the '*' except on struct
char_data *ch and struct descriptor_data *d :) And can't forget char
*buf :) Anyway, if someone can e-mail me, and tell me whether or not my
guesses are right/wrong and send me some examples of good/bad cases in
which to use these, I'd be really appreciative. Thanks,
-Phillip
ObCircle:
I'm writing an empire system atm, if anyone's interested it after I'm
done, just give me a holler(kirk47@juno.com).
Phillip Ames | Implementor of Apocalypse MUD
kirk47@juno.com | telnet://oberon.krans.com:1701
ICQ: 8778335 | AOL IM: Grathol
http://members.xoom.com/Gowron/index.html
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST