Hi, apologies since I feel this is a very basic question...
I need to feed a function that takes a few arguments, and I'm having trouble with one of the variables:
my_function(..., ..., const char* const*, ...)
I'm trying to initialize that variable like this:
const char* const myVariable[] = {
"",0
};
and then call the function like this:
my_function(..., ..., myVariable, ...)
This works, except if I later change the contents of myVariable. I guess it might be wrong to declare it as a const in the first place, but that's what the function demands. I'm a bit lost with this right now, so any help/guidance will be appreciated.
Thanks!