It is a link error that I too experienced.
I have posted a solution for it:
Read the thread.
If that does not work then try replacing ostream
header with iostream
.
It is probably compiler dependent. I had suggested using ostream
in another post but later I found that it was not working.
Reply if there is still an error.