[求助]又是首帖啊 想问大家一个动态数组的问题
<p><font face="Verdana">定义动态数组 存放直线<br/>AcDbLine **pLines;<br/>pLines=new AcDbLine *;<br/>可是不知道设置起点,终点等。</font></p><p><font face="Verdana">"pLines->StartPoint()=xx<br/>pLines->StartPoint()=yy"似乎不起作用。</font></p>
<p><font face="Verdana">书上的用法<br/>AcGePoint3d ptStart(0,0,0);<br/>AcGePoint3d ptEnd(1000,1000,0);</font></p>
<p><font face="Verdana">AcDbLine *pLine;<br/>pLine=new AcDbLine(ptStart,ptEnd);<br/></font></p> <p>pLines->StartPoint(AcGePoint3d ptStart(0,0,0));</p>
<p>晕<br/></p>
页:
[1]