--- In [email protected], Mickey Mathieson <[EMAIL PROTECTED]> wrote:
> The problem is the scanf implimentation. When the scanf encounters the
> space character it signals end of string. So the only character read
is 'd'. 

...so you could use fgets():

    fgets(w, sizeof w, stdin);

http://www.opengroup.org/onlinepubs/009695399/functions/fgets.html

Reply via email to