|
-
May 15th, 1999, 12:16 AM
#1
How to create array of POINT structs?
How do I declare and initialize an array of POINT structs to use in MFC polygonal functions?
I've tried many approaches including:
POINT{
LONG x;
LONG y;
} ptArray[8]
which elicits compiler error: cannot convert from tagPOINT[8] to tagPOINT*. What's wrong?
TIA
Tom
-
May 15th, 1999, 08:24 AM
#2
Re: How to create array of POINT structs?
POINT pntList[8];
also if the array is big, try avoid using arrays and use STL template class - vector.
/good luck mate
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|