D program code

Dicebot public at dicebot.lv
Wed Nov 13 06:44:53 PST 2013


Changing

readf (" %s", &second);

to

readf (" %s ", &second);

is likely to fix it (untested). There is a "\n" symbol left in 
buffer from last entry (which gets read by `getc`)


More information about the Digitalmars-d mailing list