C++ Help needed for small exercice

Hi.
BEFORE YOU THINK I AM JUST GETTING SOMEONE TO DO MY WORK, SCROLL DOWN AS I HAVE MADE A VERY GOOD ATTEMPT AND AM RECEIVING ERRORS!

Basically i am fairly new to C++ and have been given a small class exercise to do for home work and am struggling to make it happen.

Basically i need to make a program which asks the user to enter messages, along with the time they inputted it ( hours, minutes, seconds) and then displays them at the end of the program.

We have to use structures and dynamic arrays in the exercise, so the program should run as:

* Prompt user for how many messages they want to input
// store that as the array
* Enter that amount (initally inputted) of messages as follows:
message: sdfsdfsdfsdfs
// for the time the user is to enter it manually
x hours
x minutes
x second

Once all messages and time have been displayed they are to be displayed, an example is as follows:

I dont quite understand yet, i understand it once i read it, but struggle to write it from scratch.

If you happen to reply to this again would u be able to re-post my code and make any alts to it in red so i can see what you have done, then i will be able to understand it.
I tried to make some changes but came back with heaps of errors.

Thankyou very much for your help hammerhead, do u understand what the program is tryign to do? As you questioned some of my code, and i don't even know if it was even meant to be there i was merely brain storming.