I have two friend functions in a class in a header file
both of them are declared in the class
but the problem is when I write their body in a .cpp file I get this error
undefined reference to...
and when I write the body in the .h file I get this error
multiple definition of..
so I don't understand where should I write the body of friend function?