Hi, this is my first post here, I searched the forum and google for my error and I found some results but they were not about exactly this error, if there is and if I missed it, I'm so sorry already.
Here is my problem;
const int flightNo;
int ***Flights;
....
Flights=new int **;
for(int i=0;i<size;i++){
*(Flights+i)=new int *;
..... }
....
for(int i=0;i<size;i++){
*(Flights+i)=flightNo; //this is the error place
...
I just wrote here the main points. Flights is a pointer array-if I learned it right. and the error is
Error 1 error C2440: '=' : cannot convert from 'const int' to 'int **'
I tried to change my array to const int but it still gave this error, I think it is about giving a value to a pointer array. Please can someone explain this error and how to solve it clearly? because I could not understand the relations and the explanations at other results I found under this forum.