Data can be easily input from a file in C++. This video shows how to declare a file pointer to an existing file, open a path to the file and read the data from the file. The program utilizes an existing file which you can download from this link: http://uahcs.org/CS121/data/temps.txt