Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
EGreg
on March 8, 2014
|
parent
|
context
|
favorite
| on:
Why should I use a pointer rather than the object ...
One is allocating on the stack and one on the heap.
Allocating on the heap means you have to delete it yourself in C++.
It's pretty staightforward, no?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Allocating on the heap means you have to delete it yourself in C++.
It's pretty staightforward, no?