Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page 96, delete[] my_int_ptr s/b delete[] my_int_array_ptr #180

Closed
adem opened this issue Jun 28, 2020 · 1 comment
Closed

Page 96, delete[] my_int_ptr s/b delete[] my_int_array_ptr #180

adem opened this issue Jun 28, 2020 · 1 comment

Comments

@adem
Copy link

adem commented Jun 28, 2020

In the Dynamic Storage Duration > Dynamic Arrays section, the example for deallocating the previously allocated my_int_array_ptr reads delete[] my_int_ptr.

Instead, it should read delete[] my_int_array_ptr.

@JLospinoso
Copy link
Owner

Thanks, @adem!

kruschk pushed a commit to kruschk/ccc that referenced this issue Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants