<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Constructor of array of Point]]></title><description><![CDATA[<p>Hello,</p>
<p>I want to make a matrix like this:</p>
<p>System::Drawing::Drawing2D::Matrix^ L;<br />
L=gcnew( System::Drawing::Drawing2D::Matrix::Matrix(rect,plgpts));</p>
<p>System::Drawing::Drawing2D::Matrix^ L; L=gcnew( System::Drawing::Drawing2D::Matrix::Matrix(rect,plgpts));</p>
<p>rect works properly but not plgpts<br />
plgpts is an array of Points.<br />
So I make that:</p>
<p>cli::array<a href="System::Drawing::Point" rel="nofollow">System::Drawing::Point</a>^ plgpts;<br />
plgpts=gcnew(cli::array&lt;System::Drawing::Point, 3&gt;);</p>
<p>and I have this errors:</p>
<p>Error C3149: 'cli::array&lt;Type,dimension&gt;' : cannot use this type here without a top-level '^'<br />
Error C2748: managed array creation must have array size or array initializer</p>
<p>I don't know how to solve them.<br />
Could anyone of you help me??</p>
<p>Thank you in advanced!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/216519/constructor-of-array-of-point</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 09:51:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/216519.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Jun 2008 07:50:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Constructor of array of Point on Wed, 25 Jun 2008 07:50:01 GMT]]></title><description><![CDATA[<p>Hello,</p>
<p>I want to make a matrix like this:</p>
<p>System::Drawing::Drawing2D::Matrix^ L;<br />
L=gcnew( System::Drawing::Drawing2D::Matrix::Matrix(rect,plgpts));</p>
<p>System::Drawing::Drawing2D::Matrix^ L; L=gcnew( System::Drawing::Drawing2D::Matrix::Matrix(rect,plgpts));</p>
<p>rect works properly but not plgpts<br />
plgpts is an array of Points.<br />
So I make that:</p>
<p>cli::array<a href="System::Drawing::Point" rel="nofollow">System::Drawing::Point</a>^ plgpts;<br />
plgpts=gcnew(cli::array&lt;System::Drawing::Point, 3&gt;);</p>
<p>and I have this errors:</p>
<p>Error C3149: 'cli::array&lt;Type,dimension&gt;' : cannot use this type here without a top-level '^'<br />
Error C2748: managed array creation must have array size or array initializer</p>
<p>I don't know how to solve them.<br />
Could anyone of you help me??</p>
<p>Thank you in advanced!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1535295</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1535295</guid><dc:creator><![CDATA[*amp*rea]]></dc:creator><pubDate>Wed, 25 Jun 2008 07:50:01 GMT</pubDate></item><item><title><![CDATA[Reply to Constructor of array of Point on Wed, 25 Jun 2008 07:58:58 GMT]]></title><description><![CDATA[<p>&amp;rea schrieb:</p>
<blockquote>
<p>...</p>
</blockquote>
<p>This is C++/CLI not ANSI C++. An administrator will move this thread in the right forum.</p>
<p><strong>Kann jemand diesen Thread bitte in das C++/CLI-Forum verschieben?</strong></p>
<p>cu André</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1535300</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1535300</guid><dc:creator><![CDATA[asc]]></dc:creator><pubDate>Wed, 25 Jun 2008 07:58:58 GMT</pubDate></item></channel></rss>