Record Detail

Compile Error

/in/exam3_matrix.cpp:9:1: error: prototype for 'intMatrix::intMatrix(int, int)' does not match any in class 'intMatrix'
 intMatrix::intMatrix(int n = 1,int m = 1){
 ^~~~~~~~~
In file included from /in/exam3_matrix.cpp:6:0:
/in/compile/exam3_matrix.h:27:2: error: candidates are: intMatrix::intMatrix(int, int, int)
  intMatrix(int r = 1 , int c = 1, int initialValue = 1); //TODO: Complete this construstor. 7Pts.
  ^~~~~~~~~
/in/compile/exam3_matrix.h:23:2: error:                 intMatrix::intMatrix(const intMatrix&)
  intMatrix(const intMatrix & that) {
  ^~~~~~~~~

Information

Submit By
Type
Submission
Homework
Final Exam
Language
C++
Submit At
2022-08-02 15:40:47
Judged At
2022-08-06 15:10:17
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes