#include <iostream.h>
is the now obsolete header file for the iostream stuff.
Now, you juste need to include
#include <iostream>
the
iostream
without the .h is the standardized header for the iostreams.
All new standard c++ header use the .h-less names.
#include <vector>
#include <algorithm>
...
Today all (most?) STL and standard C++ code are in the
std
namespace.
You can either use
using namespace std;
to let the compiler (?) know to look in the std namespace if it cannot find the declaration in the global namespace. (probably a bad wording).
or just use
std::
in front of the STL and standard c++ functions and method.
so you'll have
...
using namespace std;
cout << "hello" << endl;
or
...
std::cout << "hello" << std::end;