HI Friends
A basic question. In my code i am adding values in vector (v). Now i want to remove the values from the top of the vector (from index 0) and move them in an variable temp. How can i do it. I know there is a method remove in vector. but i am not sure how to use it.Can anybody show me how to do this?
here is my peice of code
public void result (){
int temp1,temp2;
for(int i=0; i<= 3000;i++){
v.removeElement(i);
}
}
Thanks alot in advance