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
  • As posts go, the OP didn't do too badly. He didn't say "Give me code" or "Please help quickly". He actually asked a question.

    If everyone was as smart as you seem to be expecting them to be and able to find all the expected knowledge directly from the reference material, there'd be no need for anybody to post a question on a forum like this. I wonder what you'd do then?

Reply
  • As posts go, the OP didn't do too badly. He didn't say "Give me code" or "Please help quickly". He actually asked a question.

    If everyone was as smart as you seem to be expecting them to be and able to find all the expected knowledge directly from the reference material, there'd be no need for anybody to post a question on a forum like this. I wonder what you'd do then?

Children
No data