File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help with a 1B nitpick... I'm not really seeing it

 
Steven Lacher
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From Marilyn's nitpick...
"Now that we have such a refined program, it's time to pick at the finer details. What happens if the name is just perfectly long enough that you write exactly 80 characters? (like "Mike" or "Marilyn")
The problem is that if your console is 80 characters wide and you write to the 80th character, many consoles will start a new line for you. Since you also start a new line, you get double spaced lines. How can you work around this issue?"

I'm thinking that perhaps since I know my last character is always a space (name followed by " "), that I should instead limit the wrap limit to 79 characters instead. But I'm just not sure. Any thoughts or guidance, fellow cattle drivers?
 
Carol Murphy
village idiot
Bartender
Posts: 1202
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm thinking you're onto something there.....
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic