Search:

Type: Posts; User: Scotty

Search: Search took 0.10 seconds.

  1. Re: Why do these things fail sometimes? Annoying program!

    Sorry it was an example and not typed well. It returns an int


    public int token(int col, int row) {
    return array[col][row] }


    simply
  2. Why do these things fail sometimes? Annoying program!

    Hiya, I have been working on a program that looks for 4 in a line in a 2D array. I have made several methods such as


    if(token(i,j) == token(i+1,j) {
    if(token(i+1,j) == token(i+2,j) {
    ...
Results 1 to 2 of 2