This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

input stuff

 
ryan headley
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have always had a hard time with Input for a console program. What is the easy way to prompt someone for input and take that input from the keyboard??
 
Apu Nahasapeemapetilon
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apu, prefers using the readline method, than read, as read requires you to supply an array for input, and this can cause other behavior that is really not necessary.
Gotta love the naming convention...
 
ryan headley
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
seems like alot of folks are messing with input from the console.
Thanx for your help....
=)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic