Very.
When allocating space for a struct you generally (in my knowledge) don't need to calloc is, just malloc.
*edit*
include stdlib.h and remove the cast.
Very.
When allocating space for a struct you generally (in my knowledge) don't need to calloc is, just malloc.
*edit*
include stdlib.h and remove the cast.
Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.
- Mike McShaffry