ifstream allows you to open a file, then there are many ways to read the data.
you can read in a line, a word, or a character at a time.
you have to define what your reading in as text, numbers and of course there are different types of numbers such as 10 and 10.01