Gentlemen, good afternoon. Please help.
You need to write code to help establish the fact of the word in the file (i.e., the result is stupidly true / false). For example - I have a .txt file, and I need to determine if there is a word in it (for example, "stackoverflow")?
But! In the array can not be written. The task is to establish the fact of the word in the process of reading the file. Tell me where to dig?
PS 1000 apologies to the gentlemen, I incorrectly declared the restrictions: I am allowed to use an array - I cannot accept collections.