cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
memory mangement
memory mangement
May 6, 2012 at 6:33pm UTC
JAI SINGH
(100)
Hi everyone
I just wanted to know how a programmer can manage memory blocks or how memory
management can be done in C & C++
May 6, 2012 at 6:40pm UTC
Moschops
(7244)
When you need some memory, ask for it with new or malloc. You get back a pointer to the memory you asked for. When you're done with it, tell the OS by using delete or free.
Topic archived. No new replies allowed.