Posted by Babilonico on 1999-04-21
Sharpnel wrote >I have another problem. I made an array of >structures like one person suggested to me, but as >the records on the data file increases, the array >will have to increase. Since the compiler won't let >me set the array size as a variable, is there another >way to get my program to change the size of my array >to the proper size needed. If not, what are my other >options for sorting my data file besides arrays? Try using linked list that way you do4n't need to know the size of your list. or use Vectors in C++, but i don't know how to use vector just linked list besides I think they are easier to handle My 2 cents --- From: Jose Valladares E-mail: nuno78@xxxxxxxxx.xxx Website: http://www.geocities.com/siliconvalley/byte/5420 ICQ: 21417947 Free web-based email, anytime, anywhere! ZDNet Mail - http://www.zdnetmail.com
Previous post | Next post | Timeline | Home