Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

counting number of lines of system.out  RSS feed

 
Joey Brown
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would i count the number of lines of system.out and loop it so it's continually updating. Anyone know?
 
Joey Brown
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess I need to do a count on the io stream and declare it as an int. I just don't know how to do this.
 
Antonio Costa
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joey,

have a look to my posts. I'm programming a file splitter and I had the same questions. Could you post some code?

Antonio

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!