i have the following enum declared in a header file. and used the labels extensive through out my program rather than testing if current_player is 0 or 1
i am trying to write it without the use of global variables (hence all my functions are four foot long) does the above count as a global variable or is it counted as more of a typedef statement.Code:enum player { PLAYER_WHITE = 0, PLAYER_BLACK = 1 }
coop