title: C++ file handling reading select data
body: <p>I have created a struct and outputted the data held into a basic textfile using the file stream. I now want to be able to get the user to enter a ID number and then the programme should get the data for that record from the text file instead of displaying everything contained within it.</p>