array index out of bounds
#2

your last constant (lobbyPassword) in enum is 0 so when you declare the array LobbyInfo the upper block of 2nd index will be 1.Or in other words, the sizeof lobby enum is 1 as sizeof any enumerator is last constant + 1.
Reply


Messages In This Thread
array index out of bounds - by SeanDenZYR - 09.05.2019, 14:41
Re: array index out of bounds - by SyS - 09.05.2019, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)