Mail Archives: djgpp/1998/08/11/23:45:32
From: | "Steven \"Ionicis\" An" <ionicis AT planetquake DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | malloc()...free()...WTF??
|
Date: | Tue, 11 Aug 1998 20:32:03 -0700
|
Organization: | EarthLink Network, Inc.
|
Lines: | 12
|
Message-ID: | <6qr22o$rjn$1@birch.prod.itd.earthlink.net>
|
NNTP-Posting-Host: | 1cust62.tnt26.sfo3.da.uu.net
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
OK, I understand that malloc() and free() allocate and free memory, but how
does memory work in general? Like, what's the heap and how does an array
manage itself? I might not sound too clear about wtf I wanna know, but that
just shows how confused I am about memory, pointers, etc. I know C pretty
well...but it's just this memory allocation crap I can't understand...I
don't understand. Is there a page that explains how C programs handle
memory? Do I have to learn assembly to understand this?
Eh...a website (URL) would be best...or if you care, write me an explanation
yourself! Oh well, whatever you do, thanks for reading...
- Raw text -