RE: [Dev-C++] Stress with structs and pointers.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Abhijit S. <mu...@gm...> - 2003-06-12 17:27:01
|
Greets, David. > 1) when a struct is created. All that can be assumed is that it contains trash right? What is a portable way to initalize everything to 0? mset? You could use constructors, or external functions, called something fancy like `foo_zero_all()' to zero out members of your struct. The human touch - The Safest Thing(tm). ________________________________________ Abhijit Shylanath http://mudeth.tripod.com/ |