you can use memset also including <string.h>
remember that the first argument of memset is a
pointer.
this is the memset way to initialize a structure
{
struct yourStruct newStruct;
memset(&newStruct, 0, sizeof(struct yourStruct));
}
ciao
______________________________________________________________________
Iscriviti al Club Nokia, è gratis!
http://it.yahoo.com/mail_it/foot/?http://www.club.nokia.it/
|