I parse the argument backwards by char.. rather than forward.. why do you ask.. size of the hash table - all the '\0' Heres one for ya.. in case your stumped.. try a mask number.. maybe have the mask number be sizeof - 1.. gets rid ofthe null now dont it. or maybe have it something = (struct whatever *) h[h->something & h->mask] .. well i know i dont make sence to any of you.. probably cause ya dont know how to do this crap.. but dont worry.. for those who do.. im sure it will give you that much more of a headstart. -Darklord . ____ . . * . * . * . * || || * * \\ // * . . * . }{}{ * . * . . | | . * * . * * | | * * . * * ____|__|____ . * . * . . (000000000000) * . . . . ^^|^^^^^^|^^ . . * . * _____ |\ || /| ____ _ _ __ _______ __ ______ _____ ||^^^^\|\ || /|//^^\\ `|\ `|\ `|\\ `^^^^^^][ `|\\ //^^^^][ `|\^^^\\ || |\ || /|| || || || ||\\ ][ ||\\ (( ][ ]| \\ || |\ || /|| || || || || \\ ][ || \\ \\ ][ ]| \\ ||____/|\ || /|| || == ||===|| || \\ ][ || \\ \\___][ ]| " ||^^^^'|\ || /|| || || || ||===|\ ][ ||===|\//^^^][ ]| // || |\ || /|\\__// || || || \\ \ || \\ ][ ]| // ||____,|\ || /| '^^' /\| /\| || \\ \\\\ || //\\ ][ /\|___|/ ########\ || /############################################################# \ / All Rights Reserved. Matt 'Darklord' McLaughlin \/ Copywrite 1994 Bio-Hazard MUD Industries Home: (209) 298-1637 Office: (209) 322-1288 telnet://129.8.117.9:6666 http://www.engr.csufresno.edu/~mattm Email : mattm@engr.csufresno.edu +------------------------------------------------------------+ | 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/08/00 PST