Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

durrrrrr I R retard!

Name: your mom 2007-10-08 11:39

hay guise!
I'm using java and have this method in a class that does:

  public static int[] randomArray(int n) {
    int a=10;
    int i=0;
    int[] temp=new int[n];
    while(i<temp.length) {//a while loop to determine the values in each
            //position of the array
        double r=Math.random();//a random number in [0,1)
        temp[i]=randomInt(10);//if a is in [0,1), then ra is in [0,ra).
                             //So, take the floor of ra and then add 1.
        System.out.println(temp[i]);
        i++;
    }
    return temp;
  }

and I call the ArrayHelp.randomArray(100); so how do I copy the contents from the method and save it in a array?

Name: Anonymous 2007-10-08 13:06

>>2
HAHAHAHA
YOU THINK YOURE THOUGH UH ?
I HAVE ONE WORD FOR YOU
  THE FORCED INDENTATION OF THE CODE
GET IT ?
I DONT THINK SO
YOU DONT KNOW ABOUT MY OTHER CAR I GUESS ?
ITS A CDR
AND IS PRONOUNCED ``CUDDER''

OK YOU FUQIN ANGERED AN EXPERT PROGRAMMER
THIS IS
/prog/
YOU ARE ALLOWED TO POST HERE ONLY IF YOU HAVE ACHIEVED SATORI
PROGRAMMING IS ALL ABOUT ``ABSTRACT BULLSHITE'' THAT YOU WILL NEVER COMPREHEND
I HAVE READ SICP
IF ITS NOT DONE YOU HAVE TO
TOO BAD RUBY ON RAILS IS SLOW AS FUCK

BBCODE AND ((SCHEME)) ARE THE ULTIMATE LANGUAGES
ALSO
WELCOME TO
/prog/
EVERY THREAD WILL BE REPLIED TO
NO EXCEPTION

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List