edmoy@violet.berkeley.edu (12/05/87)
Here one that really slipped through the crack.
*** program 1 ***
#include <stdio.h>
main()
{
printf("Hello, Macintosh\n");
}
*** program 2 ***
#include <stdio.h>
main()
{
fputs("Hello, Macintosh\n", stdout);
}
*****************
The printf() works fine, popping up a console window and everything, but the
fputs() doesn't do anything. Notice that adding a printf() before the fputs()
will result in both printing correctly (sounds like fputs() isn't doing
the right console window initialization).
(I'm using LSC 2.13 and the new stdio library posted a while back).
Edward Moy
Academic Computing Services
University of California
Berkeley, CA 94720
edmoy@violet.Berkeley.EDU
ucbvax!violet!edmoy