Jump to content

salut,ajutor


zeks93
 Share

Recommended Posts

  • Username:Andrei
  • ÃŽntrebare:Problem server.log
  • Alte detalii:--

[21:47:21] [debug] Run time error 4: "Array index out of bounds"
[21:47:21] [debug]  Attempted to read/write array element at index 60 in array of size 60
[21:47:21] [debug] AMX backtrace:
[21:47:21] [debug] #0 0010f2ec in public OnFurnLoad (127) from ZEKS.amx

Link to comment
Share on other sites

Undeva ai incercat sa accesezi un index al unui vector care i-a depasit limitele. Sa iti dau un exemplu:

Ai vectorul v[100] (v de la 0 la 99, 100 pozitii)

Eroarea aia ti-o da atunci cand incerci: for(new i = 0; i <= 100; i++) v [ i ]  = 0;

La finalul acestui loop (atunci cand incearca sa acceseze v[100]) vei primi aceasta eroare, ca limita acestuia este v[99].

Edited by iMatt

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...