Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Explain C Pointers
#5
To expand on that, pointers are also used for dynamic memory allocation. You can create variables (arrays, structs, objects, vectors etc...) all during runtime which allows for much better memory management. You can not only create these real time, but you can also destroy them which gives the memory back to the heap.
[Image: tumblr_m8wz8pZhho1qe7ttxo1_500.jpg]

Messages In This Thread
Explain C Pointers - by Danger255 - Dec 09 2012, 03:01 AM
RE: Explain C Pointers - by Dr. gkovr - Dec 09 2012, 03:20 AM
RE: Explain C Pointers - by Leaky - Dec 24 2012, 03:35 PM
RE: Explain C Pointers - by Danger255 - Dec 24 2012, 03:45 PM
RE: Explain C Pointers - by Pishtim - Nov 26 2013, 04:39 AM
RE: Explain C Pointers - by Spartacus - Nov 26 2013, 05:00 AM
RE: Explain C Pointers - by Pishtim - Nov 26 2013, 05:18 AM

Users browsing this thread: 1 Guest(s)