So i have this 2 arrays inside my main function:
const char* basket[];
const char* basket_peach[] = {"1 1111 2 0000","2 2222 2 0000", 0};
...
if (strcmp (c_id,"somebasketid") == 0){
basket = basket_peach;
}
...
If i try to do this:
...
if (strcmp (c_id,"somebasketid") == 0){
const char* basket[] = basket_peach;
}
...
My main function tell me this " error: use of undeclared identifier 'basket'"
Any good idea how to do this one ?