Display_menu("Item1", "Item2" ..... "Item n") where n could be any reasonable number.
Display_menu needs to place each item in a menu on an LCD which I can scroll up and down. General advice seems to be to use a vector of pointers to char arrays, but I'm struggling to create such a vector of char arrays in Display_menu that works, instead getting numerous obscure error messages.
Rather than me posting all the code I've tried that doesn't work, has somebody got an example of their code that works something like this that I can work from ?
Yea, thinking about, creating a Variadic Function is unnecessarily complex. You can gain some efficiency by passing an array of char pointers. That way all the strings don't have to be the same length.