C: Memory Management Tutorial

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

C: Memory Management Tutorial

Post by nigma »

Hey, I was wondering if anyone who has experience with C could recommend a "good" memory management tutorial?

I have found a few, but since I am still learning and don't have a book to refer to, I cannot tell if the tutorial is accurate and up-to-date.

Oh, and I changed my avatar? Any opinions? Good or bad?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

what kind of memory management tutorial do you have on mind?
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

Well, I guess whatever kind of memory management that is associated with preventing buffer overflows when gathering user input. This may be to broad of a description of what I am looking ?
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

There are a number of good things online if you are willing to hunt through google. As you go along with it, there are some good libs out there for dealing with this kind of thing (memory management).

Cheers,
BDKR
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

and there's always the STL having advantages and drawbacks of its own... http://www.sgi.com/tech/stl/ and many more at http://www.google.de/search?&q=stl

another widely used library is glib (not the same as glibc)

And there are libraries that will help you to find faulty memory access such as efence

But when it comes to tutorials on this topic ...sorry, no idea :(
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Post by scorphus »

Post Reply