> On Wed, 07 May 2008 10:58:41 +0100, Ben Bacarisse wrote:
> Be careful with your counts. Most people would say that a 30
> character words needs a 31 character array to store it. I'd say
> your code accepts words up to and including 29 characters.
oh.. I even forgot this fact. I changed it to 30 + 1
> This is underspecified. At least in one sense, if "anything else
> beyond" has been discarded, how can there be any more input? Maybe
> you want to throw away any more input on that line?
yes, exactly
> You can't change the Ctrl-D behaviour without resorting to some
> serious OS-specific code. You may need a screen library like ncurses
> if you go much further.
I will accept it.
--
http://lispmachine.wordpress.com/
my email ID is @ the above blog.
just check the "About Myself" page