raul260291
Junior Member level 1
- Joined
- Jul 1, 2011
- Messages
- 16
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,389
Normally while reading a text file we use a loop command
while((c=getchar()) != EOF)
and when it reaches the EOF the loop breaks.
Question : Is there any way that we can jump the control again to the beginning of the text file so that c=getchar() begins again???
while((c=getchar()) != EOF)
and when it reaches the EOF the loop breaks.
Question : Is there any way that we can jump the control again to the beginning of the text file so that c=getchar() begins again???