To all the people that said they would love to have tests like this, I agree with you. All of our tests are like this. He has never given a class asking what something is. All of the problems on our tests are to make a function, or part of a class, or heres the header file make the cpp file for it and use it in main also questions that give you a scenario and you go from scratch. Hes a pretty tough teacher. Other professors around campus will tell you if you make a C in his class you are doing something pretty good.
@farcear
first of all, did you try to compile the code i posted and follow the instructions. in this case we are not calling
main() anyway, we're just passing arguments to main.
I like him a lot. It will pay off in the end. But you know it kinda sucks some times. But he is preparing us for the real world. Hes passionate about what he does though.