I've got a couple of header/source files: FUNCS.h and FUNCS.cpp, MATRIX.h and MATRIX.cpp, and main.cpp . In funcs and my MATRIX class there should be complex library, but when I try to include it in my MATRIX.h for example, I get error that complex is not a template. Where should I include the library so all my headers would define complex as a template? Example:
#pragma once
#include <complex>
class MATRIX
{
    friend MATRIX sum(MATRIX a, MATRIX b);
    friend MATRIX mult(MATRIX a, MATRIX b);
    friend MATRIX vi4(MATRIX a, MATRIX b);
    friend MATRIX operator * (const MATRIX& a, complex<int> b);
    friend MATRIX operator * (complex<int> b, const MATRIX& a);
private:
    complex<int>** M;
    int m;
    int n;
public:
    MATRIX();
    MATRIX(int _m, int _n);
    MATRIX(int _m);
    MATRIX(const MATRIX& _M);
    complex<int> get(int i, int j);
    void set(int i, int j, complex<int> value);
    void Print();
    MATRIX operator=(const MATRIX& _M);
    complex<int>* operator[] (int index);
    ~MATRIX();
};