Compile Error
/in/Rectangle.cpp: In member function 'bool Rectangle::isRect()': /in/Rectangle.cpp:20:30: error: expected primary-expression before 'const' Rectangle::Rectangle(const vector<MyPoint> &v){ ^~~~~ /in/Rectangle.cpp:20:54: error: cannot call constructor 'Rectangle::Rectangle' directly [-fpermissive] Rectangle::Rectangle(const vector<MyPoint> &v){ ^ /in/Rectangle.cpp:20:54: note: for a function-style cast, remove the redundant '::Rectangle'
Information
- Submit By
- Type
- Submission
- Homework
- Homework 8
- Language
- C++
- Submit At
- 2021-08-02 15:12:01
- Judged At
- 2021-08-13 00:57:30
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes