Please help me I'm getting frustrated.
#include <iostream>
#include "unorderedArrayListType.h"
using namespace std;
int main()
{
int intList = new intList(8);
int number;
cout << "Enter 8 Integers: ";
for (int count = 0; count < 8; count++)
{
cin >> number;
intList.insertEnd(number);
}
cout << endl;
cout << "Int List";
intList.print();
cout << endl;
cout << "The smallest number in IntList: ";
intList.min(5);
cout << endl;
}
Error 3 error C2061: syntax error : identifier 'intList' Line 8
Error 4 error C2228: left of '.insertEnd' must have class/struct/union Line 15
Error 6 error C2228: left of '.min' must have class/struct/union Line 24
Error 5 error C2228: left of '.print' must have class/struct/union Line 20
9 IntelliSense: expected a type specifier Line 8
10 IntelliSense: expression must have class type Line 15
11 IntelliSense: expression must have class type Line 20
12 IntelliSense: expression must have class type Line 24