This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Can you be a little more specific? What do you mean by text inputs? Reading a text file? Getting user input? Tell us more about the problem and we can probably help you find a solution. Not to mention possibly a better forum for this question as it might be about IO.