Search:

Type: Posts; User: sanfor

Search: Search took 0.08 seconds.

  1. Replies
    2
    Views
    2,031

    Re: Arrays: question about "removing" items.

    good.. i forgot that :P
    thanks alot


    public static int[] remove(int[] arr,int x) {

    int count=0,k=0;

    for (int i=0;i<arr.length;i++)
    if (arr[i] == x)
  2. Replies
    2
    Views
    2,031

    Arrays: question about "removing" items.

    hello.. guys
    i am trying to figure out how to remove "some" x from array..

    i had this so far..

    but still i get errors :S with..


    array[i]=arr[i];
Results 1 to 2 of 2