线性表的动态存储
<FONT style="BACKGROUND-COLOR: #ffff00">#include<iostream><BR>const int MaxSize=1000;<BR>using namespace std;<BR>class CircList<BR>{<BR>public:<BR> CircList();<BR> void fun(int data[],int n,int m);<BR>private:<BR> int data[MaxSize];<BR> int n;<BR> int m;<BR>};<BR><BR></FONT><FONT style="BACKGROUND-COLOR: #cc33cc" color=#0000ff>怎么在类中实现线性表的动态存储啊?<BR><FONT style="BACKGROUND-COLOR: #ff0000">即把上面的MaxSize作为一个动态值.<BR></FONT></FONT>页:
[1]
