Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
dynamic memory allocation
hello people !
i would like some help on something..
its a little complicated (for me to explain at least) so i will just say what i want to do..
i have a file of something with " x " entries...now i wanna make a procedure which will create and use an array which size should be the same amount as the entries in my file... in other words i wanna make an array[1..x] of something;
(the data inside the file usually changes and i don't wanna just use an array[1..5000] only cause its an amount that the entries will never reach for example..
the whole thing will be a procedure i repeat...
how can i make all this thing work?
(i use GNU pascal 1.9.4 if does matter)
thanks in advance ! :]
0 · ·