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

[C++] file.readLines() drops the last line if it is not followed by a line separator #155

Open
marcgurevitx opened this issue Jul 10, 2024 · 0 comments

Comments

@marcgurevitx
Copy link
Contributor

f = file.open("1.txt", "w")
f.write "a" + char(10) + "b"
f.close
print file.readLines("1.txt")  // prints: ["a"]
marcgurevitx added a commit to marcgurevitx/miniscript-by-jjs that referenced this issue Jul 10, 2024
borgi pushed a commit to borgi/csucsu_miniscript that referenced this issue Nov 21, 2024
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

1 participant