Also, why not use an enum? This is C++, not C. :p