Compile Error
prepare (1/3): finished make (2/3): g++ -o main main.cpp comparison.cpp main.cpp: In function 'int main()': main.cpp:21:42: error: too many arguments to function 'void selectionSort(int*, long int)' if(key==2) selectionSort(arr,0,size-1); ^ In file included from main.cpp:3:0: comparison.h:11:6: note: declared here void selectionSort(int arr[], long n); ^~~~~~~~~~~~~ Makefile:2: recipe for target 'all' failed make: *** [all] Error 1 build failed
Information
- Submit By
- Type
- Submission
- Homework
- Project 1: Sorting Algorithm
- Language
- GNU Make
- Submit At
- 2020-06-02 22:20:28
- Judged At
- 2020-06-02 22:20:28
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes