handling memory

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
canario
Posts: 2
Joined: Mon Dec 12, 2005 12:00 am

handling memory

Post by canario »

Hi,

I'm stacked wth the development of an app. which makes use of shared memory on linux (direct memory access, as far as I understand).

I've uploaded a highlighted html-version:

http://www.geocities.com/ucho_trabajo/xml/main.html

And the c-source:

http://www.geocities.com/ucho_trabajo/xml/main.c

For if anyone wants to have a look at it. BTW my question is if anyone could point me to a good resource/book where I can learn to manage the memory, but not nothing about malloc or garbage collection.

If you take a look at the program above mentioned, you'll notice I'm stacked just after I've retrieved a memory segment address.

I wonder if anyone could point on how to apply complex data structures within a given region, I mean structures cotaining pointer to ints, chars o even to another structures.

Any comments would be much appreciated.

Kind Regards,
Post Reply