I am receiving a lvalue (non-constant) error on 2 different lines
#3

playersconnected is an array, as I can see because you are using
playersconnected[0]--..Not sure why it is an array but let's say it is.
Now you're doing -- ++ on an array on line 63 and 73. The array itself is a constant. You must increment or decrement the data of the array and not the array itself. so replace playersconnected--/++ by playersconnected[0]--/[0]++.. Also not sure why you are incrementing playersconnected in format()
Reply


Messages In This Thread
I am receiving a lvalue (non-constant) error on 2 different lines - by Disorder - 02.09.2016, 21:14
Respuesta: I am receiving a lvalue (non-constant) error on 2 different lines - by HidroDF - 02.09.2016, 22:43
Re: I am receiving a lvalue (non-constant) error on 2 different lines - by jwh - 02.09.2016, 22:59

Forum Jump:


Users browsing this thread: 1 Guest(s)