Hi, I have a code where I scan a file, but I want to scan the entire document, not only the first line. The code I have is:
where info is the information I want to scan, and place is the location of the file.Code:ifstream c_file (place); c_file.getline(info, 300); c_file.close();
I don't think getline will get the new line, is there a way of including a newline in scanning?