How can I make a program to read the first line "There_is_a_dog" twice?
In my application, there are some sentences (each per line) to be read from the txt file, e.g.
I used fscanf_s to read them each per line (actually, it should be "each per white space"). However, how can I make a program to read the first line "There_is_a_dog" twice? E.g. after executing the first "fscanf_s" to read "There_is_a_dog", how can I guide the program to read "There_is_a_dog" again in the stream? Is there a way of doing that? I wanna google it, while haven't find any answer yet and it is hard for me to find some keywords to describe the problem.
Hopefully, I described it crystal clear.