Something else that people haven't touched on yet is dynamic memory allocation. Whenever you create a new object you'll need a reference to it. That reference is a pointer.
this post was submitted on 08 Jul 2023
1 points (100.0% liked)
C++
1763 readers
1 users here now
The center for all discussion and news regarding C++.
Rules
- Respect instance rules.
- Don't be a jerk.
- Please keep all posts related to C++.
founded 1 year ago
MODERATORS
Some things are too big to store on the stack and you need them in the heap. Those two words may be gibberish right now but it gives you a new thing to learn.