#include <fstream.h> ifstream fin; // Define input file object fin.open("foo.txt") // Attach foo.txt to fin
#include <fstream.h> ifstream fin("foo.txt") // Define fin and attach foo.txt to fin