• 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...
  • Return Pointer to local string, destroys the string or not?
    This forum may not be the best to ask the question, but the answers on the other forums (that i know) were generally with respect to C for desktop pc (where memory management is different from that in...
  • string pointer and static address problem
    Hello, My problem is as following. I have a string array, If I delete last string of GprsErrors or pointer of GprsErrors, if I make const pointer. I don't get error. I'm using some static addresses...
  • No error when converting unsigned char to pointer?
    I just noticed that my Keil C compiler doesn't flag assignment of an unsigned char to a pointer as an error: unsigned char xdata *src; unsigned char xdata array[10]; src = array[0]; This doesn...
  • 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...