First:
We know that it is better to write the declarations of a class in header file
And it's definition in another source file
BUT
if the class is template I have a problem to link the two files header and source it will appear two errors about linking
Second:
In the same class mentioned above I want to declare some friend functions has return type and input argument of the same class data type in the class and define it outside the class as usual
BUT
I have another problem in linking I don't know the reason
plz if any one have the answe support me
thank to all in advance