Check that you don't have ANSI C turned on or something like that -- the code looks like valid C++ -- the only reason I could think of that it would error out is if you weren't compiling it *as* c++. That wouldn't valid in ANSI/ISO C.
Regards,
Meredith Shaebanyan
|