Win a copy of Design for the Mind this week in the Design 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