Kaydet (Commit) 241c2e96 authored tarafından Michael W. Hudson's avatar Michael W. Hudson

Remove another lie.

üst 847f3754
...@@ -818,10 +818,8 @@ In languages like C or \Cpp, the programmer is responsible for ...@@ -818,10 +818,8 @@ In languages like C or \Cpp, the programmer is responsible for
dynamic allocation and deallocation of memory on the heap. In C, dynamic allocation and deallocation of memory on the heap. In C,
this is done using the functions \cfunction{malloc()} and this is done using the functions \cfunction{malloc()} and
\cfunction{free()}. In \Cpp, the operators \keyword{new} and \cfunction{free()}. In \Cpp, the operators \keyword{new} and
\keyword{delete} are used with essentially the same meaning; they are \keyword{delete} are used with essentially the same meaning and
actually implemented using \cfunction{malloc()} and we'll restrict the following discussion to the latter.
\cfunction{free()}, so we'll restrict the following discussion to the
latter.
Every block of memory allocated with \cfunction{malloc()} should Every block of memory allocated with \cfunction{malloc()} should
eventually be returned to the pool of available memory by exactly one eventually be returned to the pool of available memory by exactly one
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment