On Sun, 15 Feb 1998, Akuma/Chris Baggett/DOOMer wrote: >well, if I were to do this >memset(ch, 0, sizeof(struct char_data)); >would that set EVERYTHING within it to 0? >including all the structs within structs, the >affected types, et al? Everything would become 0 or NULL (assuming your NULL is all bits 0), including the padding between variables. -- George Greer - Me@Null.net | Genius may have its limitations, but stupidity http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST