Thanks for the suggestions thus far, I went through and cleaned up most of the syntax errors. I use this-> to refer to class members just for clarity, I find it actually eliminates some confusion in my mind. The queue_array.h file was written by the class TA, and I'm not really supposed to change it.

What I havent been able to fix yet are the "block cannot be used as a function" (and related) errors. I don't see any reason it can't be used as a function, because it is a function (I declared it at the top of the file for the sake of testing, and had the same problem).

Why might it be telling me this? Unless I'm missing something, I don't see anything else in manager.cpp that I can change to make block usable as a function.