Hello:
I'm almost killing myself to figure out the problem with the attached code. It seems that passing a text array to a function is impossible. Anyone is so kind to help me, please.

you declared outputLegend as const array but trying to pass it to a function that expects non-const. Change the function to require const

void printTxtArray(const char *B[]);
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.