Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/13/02 17:52
Read: times


 
#32416 - Parsing Arrays in uC51
I am trying to pass an Array of Pointers like this:
code uchar* code textArray[][3]={"bla","blub","Bla","qwe","qwer","qwe"};

to an function:
uchar* pString nextString(uchar* pString)
{
while(*(pString++));
return (pString);
}

In uC51 the result will be not "blub" if I pass textArray[0][0]. Because uC51 kills every String that is equal than another and uC51 writes the last string at the first address. Does somebody knows how to realize this function correct?

List of 3 messages in thread
TopicAuthorDate
Parsing Arrays in uC51            01/01/70 00:00      
RE: Parsing Arrays in uC51            01/01/70 00:00      
RE: Parsing Arrays in uC51            01/01/70 00:00      

Back to Subject List