So I have this:
class Component
{
public:
int label;
int order;
};
Later in my code I created a 2D array named
Component pixel[][cap]
and initialized its size with user input. Now I am trying to pass it to my function named imageDFS. I tried to use
void imageDFS(Component **)
and
imageDFS(pixel)
but I still receive compiling (codeblocks) errors.