ok, I've gotten mem properly malloced, but I don't really understand what this is pointing to. *mem is pointing to a block of memory 256 bytes long, right? How do I put something in that memory? ...
Type: Posts; User: Chalks
ok, I've gotten mem properly malloced, but I don't really understand what this is pointing to. *mem is pointing to a block of memory 256 bytes long, right? How do I put something in that memory? ...
Thanks for the quick responses. I'm about to go to a computer lab where I can deal with this some more. I do have another clarifying question though:
So should I do something like this?
void...
I am yet another college student trying to figure out malloc and pointers. I've spent the last 7 hours working on a rather involved project, and I'm stuck, stuck, stuck. After some fruitless...