Search
Setup for Free
CP-SPC
Computer Programming - Seneca Polytechnic College
•
4y ago
Revan
Is this the proper way to count the number of newlines in a file?
I feel like there is a better way to read the newline and count it instead of using
.get
(
)
, but im not sure
Computer Programming - Seneca Polytechnic College
Join
Welcome to Seneca Polytech's Programming Community! 🚀 Whether you're into CPA or CPP, all programs are welcome!
2,315
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
No replies yet
Be the first to reply to this message
Join
Similar Threads
Is this a dumb idea?
CP-SPC
Computer Programming - Seneca Polytechnic College / ask-a-question
3y ago
How boring is Programming in the long run, (Career wise)? Yes this is a serious question.
CP-SPC
Computer Programming - Seneca Polytechnic College / ask-a-question
3y ago
where is the difference between these two file modes ?
CP-SPC
Computer Programming - Seneca Polytechnic College / ask-a-question
3y ago
How viable is a Macbook for this program?
CP-SPC
Computer Programming - Seneca Polytechnic College / ask-a-question
3y ago