Pass in an ifstream (must be a reference argument [what type of parameter is it?]). The
function prompts the user and, if the file is found, it returns true and the ifstream will be a
handle for that text file. Otherwise the function returns false, and the argument is assumed to
be undefined. How does that look code-wise?
Comments
Leave a comment