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??
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"
OMG. Now I know you're just being awkward. ..... that this thread changed from C51 to 'none'
I have, previously wanted, in some cases to change 'none' to the actual and never succeeded, if this comes up C51 I have now succeeded
Erik
You have now succeeded!
(yes, I did deliberately change it from 'C51' to 'None' - as it was a basic syntax error, not specifically to do with C51)