Manipulating input streams.....
I would like to know if there is a way of scanning an input stream file for a certain string, as you might do with the "find" function?
I am trying to write a code segment that will prompt for a name, read it in then search an input file for that string.
Next, I want to prompt for a password, read it in, then read the next string in the file
(ie - the input file might contain the name "paul" then a space then the password "butterfly"
then finally, compare the typed string with the password from the data file
(sorry if this sounds long winded!)
is this possible????
any help or inspiration gratefully recieved :)