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
Closed

Comments

@WraithGlade
Copy link

@WraithGlade 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 JLospinoso closed this in c35de87 Jan 1, 2020
@JLospinoso

This comment has been minimized.

Copy link
Owner

@JLospinoso JLospinoso commented Jan 1, 2020

Thanks, @WraithGlade!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.