Not using fabs seems to work.
double first = 0, second = 0;
double const DELTA = 1.0/10000000;
cout <<"Enter two real numbers: ";
cin >> first >> second;
if(first - second <= DELTA)
cout << "almost equal.";
else
cout << "Not almost equal.";
Enter two real numbers: 1.0000000 1.0000001
almost equal.