Hey there, Im getting an error when compiling the following code and I would like to know where does it come from. Basically, Im starting to create my own matrix class, and apart from it, I'm creating another .cpp file which will contain all operations between matrices, like this one for addition
Here get is a function acting over the matrix class that takes the (i,j) element, returning its value. When I include that .cpp file in the header of the "main.cpp" file, I get an error saying that there is "multiple definition of msum(int,int) ". Any ideas on this? Thanks!