Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have doubt in CArray . the doubt is :


CArray < point , point > points;

what does it mean . point is a class ( 2d class)
Posted

1 solution

you get a point array. The first arg is the class type and the second the argument type. Read the CArray documentation

This may also be interesting: Some performance issue. Maybe it is fixed ..
 
Share this answer
 
Comments
Stefan_Lang 13-Jul-15 6:08am    
Interesting link (the second one), but it also raises serious concerns, even before skimming over some of the comments.

My solution: use std::vector, not CArray.

P.S.: of course, that is not what the question was about - you are entirely correct

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900