how to loop through File stream

前端 未结 0 1425
迷失自我
迷失自我 2020-11-30 08:39

I would like to know if there is a way I can loop through a FILE *ptr so that I can get its size.For example:

char *buffer = malloc(512);
FILE *command = pope         


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