MCENANEY WILLIAM J wrote:

> I don't know what's going wrong, but it did what you said it would do.
> I ran it on a SparcServer 20.
> 
> For fun, I wrote this program:
> 
> #include <stdio.h>
> 
> int main ()
> {
>    int c;
> 
>    puts ("Type a character.");
>    c = getchar (stdin);

getchar() doesn't take any arguments; it reads from stdin. Passing
additional arguments shouldn't do any harm though.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to