• Array of string
    I use a AT89S52 and programming with KEIL C51.How can I implement a look-up table for string ? My array example : array[0] = "ABC" array[1] = "Hello" array[2] = "Good morning" array[3] = "Good...
  • Variable to string
    Hi all. i just want to know how can i convert variables to strings for eg-, unsigned char b[2]; unsigned char a; void main() { a=20; a=b; print_lcd(b); } i want to print the value to 'a...
  • 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...
  • number of strings in array
    Hello all, I have the following code: const char BaudRate[][] = {"600","1200","2400","4800","9600","19200","38400","56700"}; . . . Idx = 0; while (Idx++ < (sizeof(BaudRate)/sizeof(BaudRate...
  • stdint.h usage with string functions
    If I include "stdint.h", allocate a pointer of type "int8_t" and then int8_t *ptr = strtok(...) I get a compiler warning: #513-D: a value of type "char *" cannot be assigned to an entity...