> const char *menu_str[][] = { > { "text1 lang1", "text1 lang2" }, > { "text2 lang1", "text2 lang2" }, > { "textN lang1", "textN lang2" }, > { 0,0 } > };
Puts an array in RAM that is initialized with pointers to constant strings. If you want the array to be const as well you'll have to tell that: const char * const menu_str[][] = ... And why do people always start asking the same kind of questions around the same time? Maarten ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user