0
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..

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by Agni
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.