Constructor of array of Point
-
Hello,
I want to make a matrix like this:
System::Drawing::Drawing2D::Matrix^ L;
L=gcnew( System::Drawing::Drawing2D::Matrix::Matrix(rect,plgpts));System::Drawing::Drawing2D::Matrix^ L; L=gcnew( System::Drawing::Drawing2D::Matrix::Matrix(rect,plgpts));
rect works properly but not plgpts
plgpts is an array of Points.
So I make that:cli::arraySystem::Drawing::Point^ plgpts;
plgpts=gcnew(cli::array<System::Drawing::Point, 3>);and I have this errors:
Error C3149: 'cli::array<Type,dimension>' : cannot use this type here without a top-level '^'
Error C2748: managed array creation must have array size or array initializerI don't know how to solve them.
Could anyone of you help me??Thank you in advanced!
-
&rea schrieb:
...
This is C++/CLI not ANSI C++. An administrator will move this thread in the right forum.
Kann jemand diesen Thread bitte in das C++/CLI-Forum verschieben?
cu André