I suppose you're right... I was just being overly suspicious, I guess. I assumed (unfairly) that this was an answer to a homework question that OP found on the internet (the answer, not the question) that was supposed to be submitted as C++ code. But I think I was being overzealous.