James wrote:

> What does it do? It will let me input the first char, but never asks
> for the second. Why? and how can i make it ask for the second (or
> however many i ask it for).

It does, but you have already typed the answer. You forgot that
<newline> is a character (or two sometimes).

There are two ways about this:
1. Use fgets() to read input when prompting, then sscanf the read line.
2. Use ncurses (or similar).

---
Henrik Nordström

Reply via email to