hi,
I've tried searching around with no luck, I have seen this referenced/suggested in a (old) thread in forum somewhere, a book I have even structures the following this way but I can't seem to figure out why following won't work (i.e. won't compile):
Code:
POINT points[2];
points[0] = {50,75};
points[1] = {75,100};
Polygon(hDC, points, 2);
I get an "expected primary-expression before '{' token" error, but I don't/can't see how/why. This is the only code present & there's nothing else that affects this.
Am I missing something?