If by "help" you mean you do some work, get stuck, post what you've achieved so far and ask a question about why it doesn't work, or what to do next, then sure, we can help.
But if your definintion of "help" is posting your assignment on a message board and hoping someone will give you the answer on a plate while you go off any party or something, then the answer is a most definite NO!.
I would think stringstreams would be ideal for this if you are allowed to use them. However, it depends if you wish to preserve the whitespace (spaces and tabs etc). In which case, you might have to think up something else.