• 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...
  • Strings and arrays
    Hello people, My question is C langage use. I'd like to define a list of strings and to compare this list with a string incoming from the UART in order to build a command line interpreter. The...
  • 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...
  • STRINGS
    iam working with cygnal microcontrollers c8051f124,we are generating our own protocol using pwm . i have actually implemented my project in 2 phases,1in c and another in assembly. in the c file iam...
  • 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...