Okay, and what have you tried? We don't do homework for you, we help you with specific problems (when the specific problem isn't "I need you to do my homework").
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
If that's the extend of your C++ knowledge I wonder how you've come so far in your course to get an assigment like the one you posted.
Or have you been chased away from another site for once too often asking people to do your homework for you?
Every programming course I've ever taken had one or more books as required (or sometimes strongly suggested but take that as required) reading.
I suggest you read your courseware as it should help you along no small bit.
Then break up your assignment into discrete parts and solve each of those.
Then glue the pieces together.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
>but I just find out myself how to do it.
Good. Maybe you actually learned something.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
but your paying all that money for someone to teach you are you not??
Most kids don't pay for school. Their parents do but don't pass on the bill, so the kid never knows the cost of their schooling.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337