I need to know if all the characters in the exampleFile array are in a file in sequence.
I tried to solve it but I can’t find the problem and it still doesn’t work.
What’s the problem here?
I tried to add an exit condition if ch == EOF, and also change that if ch != exampleFile[index], but yes it is equivalent to exampleFile[0] changing the index value to 1 and not to 0
New contributor
Ido Engel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.