How Can I define a struct in code memory?? I want to create a Default config and put this in code memory, If the program detect that is unconfigurated this load the Default configuration. thanks
typedef struct { // configuration fields } Config; const Config code myConfig = { // initializer for myConfig };
Can we go back to boldface for the "b" tag inside "pre" tags? That's a common style for representing keywords. The red just doesn't do it for me.
Thank you very much, its run!! I have declared the Deafult Conf as: typedef struct sConfiguration { ... } and I have inizialized const struct sConfiguration code Default_Conf= { 0,100, 10.3, ..... };