Error in Processing program

you need to make ALL the cards you want use later FIRST

 for(int i = 1; i<12; i++){
    Globalcards[i] = new Cards (x[i], y[i], f[i]);
  }

not fit to

for(int i = 0; i<12; i++){
    Globalcards[i].display();
  }

so Globalcards[0] is missing

//__________________________
sorry, you edit the title at the same time

Error in Processing program,if you are a genius - come prove it :slight_smile:

i never think i am a genius like you

1 Like