时间错误,我无法弄清楚一切看起来都很好。这是我的主要内容:
#include "DoublyLinkedList.h"
#include "Stats.h"
#include <iostream>
#include <string>
using namespace std;
DoublyLinkedList<int>* statsList = new DoublyLinkedList<int>;
int main()
{
Stats stats;
bool exit = false;
int menuChoice;
while (!exit)
{
switch (menuChoice)
{
case 1:
cout << "Insert";
{
stats.Details();
}
break;
case 2:
cout << "Delete";
{
}
break;
case 3:
break;
case 5:
break;
case 6:
break;
case 7:
exit = true;
default:
break;
}
}
return 0;
}