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 defining

i want to send 300 constant values to an array and i defined it in this way
code unsigned int a[]= '' 936, 956, 1100, 1208, 1150, 986''; // like these all 300 values

but keil software gives error in these ''''' and say unspecified... pls tell me how can i store large constant values in an array??

Parents
  • So now we know that you are reading text faster than you are processing it.

    I have never claimed that it isn't obvious that this thread is about C.

    But the explicit question he wrote didn't contain a programming language, which was why I said that using "pls tell me how can i store large constant values in an array??" in Google resulted in a number of links for other programming languages.

    But even without a "C" in that specific question, Google still located an answer. So the OP could have posted his actual question in Google and received the answer to the question with just some minutes of link scanning.

Reply
  • So now we know that you are reading text faster than you are processing it.

    I have never claimed that it isn't obvious that this thread is about C.

    But the explicit question he wrote didn't contain a programming language, which was why I said that using "pls tell me how can i store large constant values in an array??" in Google resulted in a number of links for other programming languages.

    But even without a "C" in that specific question, Google still located an answer. So the OP could have posted his actual question in Google and received the answer to the question with just some minutes of link scanning.

Children