In my OpenFile function it should prompt user to enter a file name and read the file into an array. I keep getting the error: no match for 'operator>>' (operand types are std::ifstream {aka std::basic_ifstream<char>} and 'entryType'). I think the problem could be using a void function or declaring the array as part of entryType. I know that I'm getting this error because the compiler looked for a function that could handle (istream) >> (entryType) but found none. How would I fix my code to get rid of this error?