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??
It didn't mention any programming language
The C51 thoughtfully provided by the OP gives a reasonably good clue.
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.
But the explicit question he wrote didn't contain a programming language
OMG. Now I know you're just being awkward.
"The Keil Discussion Forum is an open forum where you may post questions and comments about Keil products"
View all questions in Keil forum