• Pointer to array in a structure?
    hello, i have a simple little structure like this unsigned char index; struct tag { unsigned char a[20]; unsigned char b[20]; unsigned char c }; then i declare a pointer like this...
  • 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...
  • array of pointers to arrays of pointers to string
    Yes, the real problem is, I would like to write an easy to switch, multilingual menu. And I imagine, an array like that should work. But there seems to be some brain blocking in 1. How to define and...
  • Reassigning pointer to a structure
    I'm having trouble with reassigning a pointer to a structure. Given the 2 files, structure.h and structure.c listed below: structures.h ------------ struct device_struct { unsigned char address;...
  • Pointer to NULL structure
    I have a structure defined as typedef struct example{ int a; char b; example c; }STRUCT_EG; and I declare a pointer to this structure as STRUCT_EG *Struct_ptr To check whether the pointer...