prog.cpp: In function 'int ArrayFromFile(int*, int*)':
prog.cpp:14:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
while(C<Q &&!inFile.eof())
^
prog.cpp:20:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (C!=Q) cout << "Quanity of data file doesn't match array size";
^
prog.cpp: In function 'void stats(int*, int*, int&, int&, float&)':
prog.cpp:42:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
for (I=0; I<Q; I++)
^
prog.cpp:44:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (A[T]>=Q && A[T]<=100)
^
prog.cpp: In function 'int main()':
prog.cpp:84:10: warning: unknown escape sequence: '\040'
cout << "4/14/15\ class example\n";
^
prog.cpp:92:32: error: invalid conversion from 'int' to 'int*' [-fpermissive]
QTY = ArrayFromFile(SCORES, QTY);
^
prog.cpp:9:5: note: initializing argument 1 of 'int ArrayFromFile(int*, int*)'
int ArrayFromFile (int A[], int Q[])
^
prog.cpp:92:5: error: incompatible types in assignment of 'int' to 'int [28]'
QTY = ArrayFromFile(SCORES, QTY);
^
prog.cpp:93:22: error: invalid conversion from 'int' to 'int*' [-fpermissive]
sortArray(SCORES, QTY);
^
prog.cpp:25:6: note: initializing argument 1 of 'void sortArray(int*, int)'
void sortArray (int A[], int Q)
^
prog.cpp:93:22: error: invalid conversion from 'int*' to 'int' [-fpermissive]
sortArray(SCORES, QTY);
^
prog.cpp:25:6: note: initializing argument 2 of 'void sortArray(int*, int)'
void sortArray (int A[], int Q)
^
prog.cpp:94:33: error: invalid conversion from 'int' to 'int*' [-fpermissive]
stats(SCORES, QTY, MIN, MAX, AVG);
^
prog.cpp:33:6: note: initializing argument 1 of 'void stats(int*, int*, int&, int&, float&)'
void stats ( int A[], int Q[], int &MIN, int &MAX, float &AVG)
^
prog.cpp:95:44: error: invalid conversion from 'int' to 'int*' [-fpermissive]
displayCatergory(SCORES, QTY, MIN, MAX, AVG);
^
prog.cpp:55:6: note: initializing argument 1 of 'void displayCatergory(int*, int*, int&, int&, float&)'
void displayCatergory (int A[], int Q[], int &MIN, int &MAX, float &AVG)
^