• Array of pointers to structures
    I am getting an error 199 "left side of '->' requires a struct/union pointer. I'm not entirely sure why. Maybe it's obvious, but I've been looking at this code for too long: struct test_struct {...
  • Array of pointers to structures
    I am getting an error 199 "left side of '->' requires a struct/union pointer. I'm not entirely sure why. Maybe it's obvious, but I've been looking at this code for too long: struct test_struct {...
  • defining an array of pointers to structure members generates compiler error
    espression must have a constant value i have a static struct variable having struct members and have to access this members on change of a count. so instead of using a switch case statement to load...
  • defining an array of pointers to structure members generates compiler error
    espression must have a constant value i have a static struct variable having struct members and have to access this members on change of a count. so instead of using a switch case statement to load...
  • Pointer to Structure with pointer.
    I'm having a problem with a pointer to struct. I'm working with the PC16552 UART, (it has 2 UARTs), and I created a struct for each UART like this: typedef struct _uart { uchar xdata *ucBuffer; uchar...