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

A code example reference number appears to be wrong, near Loc 1003 in ebook. #54

Closed
WraithGlade opened this issue Dec 19, 2019 · 1 comment

Comments

@WraithGlade
Copy link

WraithGlade commented Dec 19, 2019

In the text "the destructor cleans up file.file_pointer for you ➋" it appears that the reference to "(2)" in the code snippet should actually be "(3)" instead. The destructor is called at the end of the scope (which is at location 3 in the code), not at the file initialization (which is at location 2 in the code).

The way you wrote it is probably not what you actually intended, I'm guessing.

@WraithGlade WraithGlade changed the title Found a code example reference number that appears to be wrong, near Loc 1003 in ebook. A code example reference number appears to be wrong, near Loc 1003 in ebook. Dec 19, 2019
@JLospinoso
Copy link
Owner

JLospinoso commented Jan 1, 2020

Thanks, @WraithGlade!

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