Hi, i'm new to the forum and C programming and I was wondering if someone could help me with the message "Required parameter missing" that I get when I run my program in DOS.
I'm currently working my way through the C programming language 2nd edition by Brian W. Kernighan and i've got the chapter "Character Input and Output" with no problems at all.
I've used the following code;
Code:
#include <stdio.h>
main()
{
int c;
c=getchar();
while (c != EOF) {
putchar(c);
c = getchar();
}
}
I have also tried the following code;
Code:
#include <stdio.h>
main()
{
int c;
while ((c = getchar())) !=EOF)
putchar(c);
}
I can build the code with no errors or warnings, but when I load it in DOS I get the Required Parameter Missing message.
Please can anyone help, it would be greatly appreciated.