Record Detail

Compile Error

/in/exam3_matrix.cpp:6:68: error: default argument given for parameter 1 of 'intMatrix::intMatrix(int, int, int)' [-fpermissive]
 intMatrix::intMatrix(int row = 1, int col = 1, int initialValue = 1) {
                                                                    ^
In file included from /in/exam3_matrix.cpp:1:0:
/in/compile/exam3_matrix.h:27:2: note: previous specification in 'intMatrix::intMatrix(int, int, int)' here
  intMatrix(int r = 1 , int c = 1, int initialValue = 1); //TODO: Complete this construstor. 7Pts.
  ^~~~~~~~~
/in/exam3_matrix.cpp:6:68: error: default argument given for parameter 2 of 'intMatrix::intMatrix(int, int, int)' [-fpermissive]
 intMatrix::intMatrix(int row = 1, int col = 1, int initialValue = 1) {
                                                                    ^
In file included from /in/exam3_matrix.cpp:1:0:
/in/compile/exam3_matrix.h:27:2: note: previous specification in 'intMatrix::intMatrix(int, int, int)' here
  intMatrix(int r = 1 , int c = 1, int initialValue = 1); //TODO: Complete this construstor. 7Pts.
  ^~~~~~~~~
/in/exam3_matrix.cpp:6:68: error: default argument given for parameter 3 of 'intMatrix::intMatrix(int, int, int)' [-fpermissive]
 intMatrix::intMatrix(int row = 1, int col = 1, int initialValue = 1) {
                                                                    ^
In file included from /in/exam3_matrix.cpp:1:0:
/in/compile/exam3_matrix.h:27:2: note: previous specification in 'intMatrix::intMatrix(int, int, int)' here
  intMatrix(int r = 1 , int c = 1, int initialValue = 1); //TODO: Complete this construstor. 7Pts.
  ^~~~~~~~~

Information

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