ifstream efficiency

When checking for some character in a text file is it better to read in one character at a time and check it, or to read in one line at a time and loop through each character of the string.

Does either even have a noticeable difference?
Read a line and loop each character.

The fewer times you require data from files, the faster it goes, but more the memory you will need.
Topic archived. No new replies allowed.