• 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...
  • Initialize constant pointer to pointer
    const int an_object = 0; const int * const MC_buf = &an_object; const int * buffer = MC_buf; This code was original using structs, but it is simplified in this example. It doesn't matter where...
  • 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...
  • Using Pointer
    Please could some body take a look at my code to see why the Pointer variables do not display correctly using debug in Uvision2. Here is the code: unsigned int xdata VALUE; unsigned int xdata...
  • Pointer error
    //test code Keil6.23 1 unsigned int code tbl[10][2]={ 2 { 80, 1986},{ 600, 2630},{ 1390, 3584},{ 2180, 4509},{ 2960, 5396}, 3 { 3730, 6245},{ 4500, 7069},{ 5260, 7858},{ 6020, 8623},{ 6200, 8800...