We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hello to all of you, is there a way to have a array and give each element of the array a special name? An example:
float my_array[20]; . . for(i=0;i<20;i++) send(my_array[i]; . .
is there a way to have a array and give each element of the array a special name? Yes, and no. Yes, it's possible, but the thing you have can't be called an "array", then. That's what C has structs for. but the should share the same memory adress. This completely fails to make sense. Array elements don't do that from the beginning. Sorry dont tell me Please read the manual, just give me a helpful hint. Now you're being arrogant, ridiculous, or both. How can you possibly know that Please read the manual isn't exactly the helpful hint you need? Actually, what you should read is not a manual. You're completely confused about basic aspects of programming in C. You should stop worrying about ARM, Keil and uVision, and go back to learning basic C skills. In that sense, you'll have to Please read the manual, but only later --- you desperately need to RTF textbook first.