Change input stream mid-program

前端 未结 0 1994
[愿得一人]
[愿得一人] 2021-01-27 07:00

I have the following program which prints text from a file:

#include
int main(void) {
    int ch;

    while ((ch=getchar()) != EOF) {
        putc         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题