Thread: LIFO in Array
View Single Post
  #1 (permalink)  
Old April 21st, 2004, 10:04 PM
mafuka mafuka is offline
Registered User
 
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default LIFO in Array

Hi i Have questions, is it possible to make a LIFO program without using any pointers? and how could I do the elimination with a command like DELETE but without living any trash behind, for example i have the array
2 3 5 7 4 9
the last one in is 9, but when I use the delete command it erases the 9 but lives a 0 instead
2 3 5 7 4 0

and what I want to do is live that possition blank
2 3 5 7 4

a friend told me that using a for I could move the whole array when i delete the last number, like this:
  2 3 5 7 4

I really need Help with this.


Reply With Quote