My header:
#define DLLExport __declspec (dllexport) #define MAXCOLS 3 extern "C" { typedef struct Matrix { double** array; //contain