Line 12: What are you trying to do with this line? It looks like a function prototype with a missing argument type, or that you're trying to initialize the variable in the class declaration, which you can't do.
Line 22: You've declared time as an int. The return type of your function is string. You can't return an int when the return type is a string.
Line 26,64,96: fill expects a char, not quoted string. i.e. Use '0', not "0".
Line 65: You're trying to do a cout of a string, but you did not include the <string> header.
Line 68: You're trying to invoke a constructor for Data that takes two arguments, but you have no constructors in you class declaration.
Line 89: pop is missing the ().
Line 120: Statement has no effect. Assume you meant =, not -.
You have been asked to use code tags. PLEASE DO SO.
http://www.cplusplus.com/articles/jEywvCM9/
Hint: You can edit your post, highlight your code and press the <> formatting button.
It makes it easier to read and respond to your post.