I am writing a program using complex numbers. By #including the <complex> library in my .cpp file I can work with it just fine. If I want to define a function in a header file like this:
int Matrixmult((complex<double>)* , (complex<double>)* , (complex<double>)* );
I get an error C2065: 'complex': undeclared identifier. I don't really understand this because I have #included the <complex> library before the header file in my .cpp file:
where the last one is my header file.