• Declaring structure as extern
    I am using a structure named my_struct which is to be declared as extern. struct my_struct{ int a; int b; }; struct my_struct first; struct my_struct second; How do I declare the structure...
  • bad structure declaration?
    i'm trying to create an array of structures but when i make more than a handful my robot doesn't work. so in main.h i have typedef struct SPid { int dState; // Last position input int iState;...
  • symbol declaration, for an C structure element
    If we define struct _footype { char c; int x; } foo; foo would be a linkable symbol, being th aderess of real memory - of sizeof(struct _footype) What can I do to declare a linkable symbol...
  • How does memory get allocated when you declare a structure
    How does memory get allocated for the structure on Keil C51 8.x? Is it when I populated the contents of the structure right after declaring the structure does the memory get allocated. I am using a global...
  • Declaring a constant structure in flash memory without initialization
    Hello everyone! I am using Keil uVision 5.28 with Compiler V6.12. How to declare a constant structure in flash memory so that it is not initialized by programmer / debugger and functions from scatterloader...