This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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 night"

Parents
  • This is a plain, standard, basic 'C' programming issue - nothing specifically to do with Keil.

    Try a 'C' textbook.

    My array example :
    array[0] = "ABC"
    array[1] = "Hello"
    array[2] = "Good morning"
    array[3] = "Good night"


    Yes, fine - where's the problem?

Reply
  • This is a plain, standard, basic 'C' programming issue - nothing specifically to do with Keil.

    Try a 'C' textbook.

    My array example :
    array[0] = "ABC"
    array[1] = "Hello"
    array[2] = "Good morning"
    array[3] = "Good night"


    Yes, fine - where's the problem?

Children
No data