In file included from /in/main/main.cpp:3:0:
/in/detector.h:7:2: error: 'vector' does not name a type; did you mean 'Detector'?
vector <int> inputArray;
^~~~~~
Detector
/in/detector.h:8:19: error: 'vector' has not been declared
void maxDetector(vector<int> inputArray);
^~~~~~
/in/detector.h:8:25: error: expected ',' or '...' before '<' token
void maxDetector(vector<int> inputArray);
^
/in/main/main.cpp: In function 'int main()':
/in/main/main.cpp:18:33: error: no matching function for call to 'Detector::maxDetector(std::vector<int>&)'
Detector().maxDetector(q);
^
In file included from /in/main/main.cpp:3:0:
/in/detector.h:8:7: note: candidate: void Detector::maxDetector(int)
void maxDetector(vector<int> inputArray);
^~~~~~~~~~~
/in/detector.h:8:7: note: no known conversion for argument 1 from 'std::vector<int>' to 'int'