OpenAmiga (217/964)

From:John Niclasen
Date:9 Sep 2000 at 13:55:28
Subject:Re: AMIOPEN: [Q] gets and puts

Hi again!

Patrick Roberts wrote:
> Make sure you fflush(stdout) and fflush(stdin). On many (most) systems
> a \n automacitally flushes but not on Elate.

Ok, my little test program now looks like this:

#include <stdio.h>

int main(int argc, char **argv)
{

}

The output of printf should be the string in between '>' and '<', but I
only see the "><", nomatter what I type. I also compiled it under Linux,
and then it performs correctly. What can be the problem? Could someone
try to compile my program, please. I compile with

Is "gets" broken, or did I miss something?
(John puts his nose back into the SDK manual.)

John Niclasen
Denmark.
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html