We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0d892c commit 9eeb10eCopy full SHA for 9eeb10e
exercises/concept/speedywagon/.docs/introduction.md
@@ -85,8 +85,6 @@ Superhero* dianaPrince = &wonder_woman;
85
dianaPrince->superpower = "Lasso of Truth";
86
// Using the -> operator to access member variable superpower:
87
std::cout << "Wonder Woman, possesses the mighty " << dianaPrince->superpower;
88
-// Memory cleanup:
89
-delete dianaPrince;
90
```
91
92
## Pointers vs. references
0 commit comments