main()
{
double **vals = NULL;
function(vals);
}
prototype :
//some other dll
void function(const double**);
it gives me error : cannot convert double ** to const double **.
and yes i dont want to put extra burden on the user side(in main function) to const cast the vals as it is not his responsibility..