Skip to main content
ASzcz
Associate
Apr 24, 2021 1:38 AM UTC
Question

array of *char

hi everyone, actually I have two questions. first: how can I create something like this

​

char *main_menu[]={{"Work","start", "stop", "pause"}, {"Heater", temp_heater,"empty","empty"}, {"PREheat",temp_preheat,"empty","empty"}, {"Pneumo","forward", "stop", "backward"}};

second question is inside array - variable temp_heater can be injected or not?

    This topic has been closed for replies.