#include <iostream>
#include <iomanip>
#include <string>
#include <cctype>
#include "AcctListStack.h"
usingnamespace std;
void displayMenu();
int main()
{
bool menuActive = true;
char menuChoice;
Stack stackList;
while (menuActive)
{
displayMenu (); // call displayMenu function
cin >> menuChoice; cin.ignore(80,'\n');
cout << endl;
switch (menuChoice)
{
case'1':
{
string stackItemName;
cout << "Enter stack item: ";
getline(cin, stackItemName);
stackList.push(stackItemName);
//this is where im getting errors it underlines stackItemName, im using xcode, and says "No viable conversion from 'string' to 'StackItem *" what does this mean?
}
//more stuff here but they work, im getting errors in case 1 only.