Can you be more specific than just saying it doesn't work? What does happen when you type something in? Does select() hang? Does select() return but no input is read? Does it crash?
Can you be more specific than just saying it doesn't work? What does happen when you type something in? Does select() hang? Does select() return but no input is read? Does it crash?
If you understand what you're doing, you're not learning anything.