I have in class County.h constructor:
struct Country {
Country(double**, int);
};
and in main I have graph[Size][Size]
and I want to call the constructor for County
.
int main() {
double graph[Size][Size];
Country c(graph, 0);
}
But its giving me error no matching function for call to ‘County::County(double [22][22], int)’
What I can do in order to solve this problem?