writing a macro to an array

I am writing a code to produce a survey rating a product 1-10 and am stuck on writing a macro to an array, does anyone know how to write it without errors. my problem is :


ratingCounters[RESPONSE_VALUES] = { 0 };

RESPONSE_VALUES is the array.
Sorry. My computer wasn't letting me post so I guess it accidentally posted twice when it unfroze, thanks for helping me with that. But was no help for my actual problem.
ratingCounters[RESPONSE_VALUES] = { 0 };
You can use the curly braces only to initialize the whole array.

To set an individual member use ratingCounters[RESPONSE_VALUES] = 0 ;
Topic archived. No new replies allowed.