[Solved] error: ‘is’ was not declared in this scope


You probably want this:

ifstream inFile1("file1.txt"),inFile2("file2.txt");
istream_iterator<double> start(inFile1), end;

there is nois thing in your code, so you get your error

1

solved error: ‘is’ was not declared in this scope