On Jun 1, 12:20*pm, ramtin <tom.t.2...@gmail.com> wrote:
> hello;
> is anybody knows waht does " void Print (ostream &) const; " do ? and
> it doesn't work in visual c++ ,plz help me . . .
> thanks
Hi
It depends to your code. Is it a member function of
a class and it tries to change the state of object?
Do you add
using std:

stream
or
using namespace std;
beforehand such declaration? ...
BTW, I guess it's a declaration of a _constant_ member function
of a class which may be prints the object into output stream.
Regards,
-- Saeed Amrollahi