So I\'m working on a simple iPhone game and am trying to make a local high score table. I want to make an array and push the highest scores into it. Below is the code I have
CGFloat i.e. primitive arrays can be constructed like so...
CGFloat colors[] = { 1, 0, 0, 1 };
and subsequently "used" in a fashion similar to...
CGContextSetFillColor(context, colors);
OR (more concisely, via casting)...
CGContextSetFillColor(context, (CGFloat[]){ 1, 0, 0, 1 });
C arrays gross me out... but this CAN be done with "standard ©"!