D
Dean
I wrote a short c code as follow:
#include <stdio.h>
int main()
{
int c;
while ((c = getchar()) != EOF)
putchar(c);
}
It works,but I don't know how to input the EOF so that I can stop the
program,hope you can help me,thanks.
#include <stdio.h>
int main()
{
int c;
while ((c = getchar()) != EOF)
putchar(c);
}
It works,but I don't know how to input the EOF so that I can stop the
program,hope you can help me,thanks.