TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: SIMON AVERY
from: GEORGE WHITE
date: 1998-01-26 08:33:00
subject: CRC structs

Hi Simon,
You wrote to me:
SA> SA>> How would I go about getting a CRC32 from a structure?
SA> SA>> I /think/ I know how to do it with an array, but a structure is a
SA> SA>> bunny of a different colour.
SA> GW> Then turn it into a char array...
SA>So simple?
Yup :-).
You could also do it by casting the struct to a char array...
SA>... "Bother," said George, as the Ravenous Bugblatter Beast of Trall ate
SA>... Owl.
.......^^^
Get it right :-)
Bother. Wol forgot to close his eyes...
George
 * SLMR 2.1a * All Trademarks acknowledged (just in case ).
--- Maximus/2 3.01
---------------
* Origin: DoNoR/2,Woking UK (44-1483-717905) (2:440/4)

SOURCE: echomail via exec-pc

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™.