Which operator do I have to overload?

– Nawaz Sep 18 at 13:58 Nevermind I found the error. Thought I had to put the declaration into the class. – Julian Sep 18 at 13:59.

You do not need to declare it as a friend. – Benjamin Lindley Sep 18 at 13:51 Agreed... but you should for 2 reasons: first off, easier access to members, which you should have, since it's part of the class logic, and second and more important, stream operator overloads can be defined anywhere in the code. You need to be able to access them anywhere, not just to compilation module you're using.

Say you declare it in a cpp... you'll only be able to use it there, unless declared in the header. – Luchian Grigore Sep 18 at 13:57.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions