Comment Comment by NickPollard This might be a stupid question, but what are you meant to do if not cast malloc's return?My C is a bit rusty, but how else are you meant to allocate data of different types on the heap? parent NickPollard 16 years ago
My C is a bit rusty, but how else are you meant to allocate data of different types on the heap?