HALCON/C++ provides iostream operators by default. Note that it may be necessary to enable the namespace std:
using namespace std;
If you want to use the older iostream interface (i.e., <iostream.h> instead of <iostream>), the following line has to be added (otherwise, there may be conflicts with the HALCON include files):
#define HCPP_NO_USE_IOSTREAM