That is what your homework assignment gave you as the starting point, so you haven't written anything yourself, right? Your homework assignment spells out exactly what you should do and even breaks it down into shorter steps. Have you done any of the steps leading up to that question?

Quote:

I can give you music for your troubles

It's not yours to give.

07-31-2005

The Brain

gimme some static x, insane clown posse, and ludacris

07-31-2005

jaybo684

how about snoop dogg and trapt instead?

07-31-2005

The Brain

are we talking new or old school snoop shizzle

07-31-2005

jaybo684

old.

07-31-2005

ILoveVectors

ill do whatever you want for crack, k deal, no take backs!@#@#$

07-31-2005

ILoveVectors

ok people are going to get mad at me for this, but its ok
cause its just to help you along your way, besides this code
doesnt really follow any of the guidelines of your teachers.

Code:

snip

ok i put it together real fast it may not even compile, but
it should give you an idea where to start. this probably could
have been done a better way, but i have a bad headache,
and sense you have to follow certian rules it doesnt matter.

07-31-2005

Zach L.

Well, ILV, aside from the fact that you have decided to do someone's homework for them, your code has numerous problems:

1. It's non-portable.
2. It mixes new and old headers.
3. You have some interesting conversions.
4. And no decent compiler will compile it.

jaybo684, try something, and come to us with specific problems. Read this. And refrain from offering up that which you do not have the right to offer.