Hi,

At Mon, 18 Apr 2005 10:29:43 +0900,
Albert wrote in [ruby-talk:138624]:
> int main() {
>   const char buf[128];
>   while (1) {
>     printf("enter: ");

This doesn't output a newline.

> while line = gout.gets

IO#gets reads till a newline.

-- 
Nobu Nakada