Quote:
--------------------Configuration: IO - Win32 Debug--------------------
Compiling...
IO.CPP
G:\Current Courses\EECE 314\projects\el_with_synchronization\IO\IO.CPP(71) : error C2051: case expression not constant
G:\Current Courses\EECE 314\projects\el_with_synchronization\IO\IO.CPP(73) : error C2051: case expression not constant
G:\Current Courses\EECE 314\projects\el_with_synchronization\IO\IO.CPP(75) : error C2051: case expression not constant
G:\Current Courses\EECE 314\projects\el_with_synchronization\IO\IO.CPP(77) : error C2051: case expression not constant
G:\Current Courses\EECE 314\projects\el_with_synchronization\IO\IO.CPP(79) : error C2051: case expression not constant
G:\Current Courses\EECE 314\projects\el_with_synchronization\IO\IO.CPP(81) : warning C4060: switch statement contains no 'case' or 'default' labels
Error executing cl.exe.
IO.exe - 5 error(s), 1 warning(s)
I'm not entirely sure about what's wrong with the implementation using the array indices. Any help would be much appreciated.