If I have declared the following:
stack <what> name;
struct what
{
int value;
string value2;
};
How do I push value and value2 on to the stack and how do I output the individual contents?
Thank You
If I have declared the following:
stack <what> name;
struct what
{
int value;
string value2;
};
How do I push value and value2 on to the stack and how do I output the individual contents?
Thank You