To read data from a file or to save data in a file, a program just has to use the right type of stream. An object of type ifstream is an input file stream that can be used to read data from a file into variables.An object of tye ofstream is an output file stream that can be used as a place to send data.hen you use the. to read a value into a string variable, only one word will be read, where a word is defined as a sequence of non-blank characters. Suppose str is a variable of type string and you say .  in your program.
The Peak District is an upland area in England, most of which lies in northern Derbyshire but also includes parts of Cheshire, Greater Manchester, Staffordshire and Yorkshire.he Peak District was covered by ice during at least one of the ice ages of the last 2 million years (probably the Anglian glaciation of around 450,000 years ago) as evidenced by the patches of glacial till or boulder clay that can be found across the area.
Dore is a village in South Yorkshire, England. The village lies on a hill above the River Sheaf which gave Sheffield its name, and until 1934 was part of Derbyshire, but it is now a suburb of the city.Dore is served by Dore and Totley railway station on the Hope Valley Line between Sheffield and Manchester.hrist Church Dore was built in 1829 and Dore became a separate parish in 1844. Dore remained a small village, having a population of just 500 in the 19th century, until it was annexed by Sheffield in 1933.