Borderou de evaluare (job #1135480)
Utilizator | Data | 7 martie 2014 22:01:31 | |
---|---|---|---|
Problema | Geometry | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘bool Point2D<T>::operator=(const Point2D<T>&)’:
user.cpp:52:9: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: At global scope:
user.cpp:188:36: error: ISO C++ forbids declaration of ‘operator=’ with no type [-fpermissive]
operator = ( const Line &L )
^
user.cpp: In member function ‘int Line<T>::operator=(const Line<T>&)’:
user.cpp:193:9: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: At global scope:
user.cpp:296:44: error: ISO C++ forbids declaration of ‘operator=’ with no type [-fpermissive]
operator = ( const Segment2D<T> &S )
^
user.cpp: In member function ‘int Segment2D<T>::operator=(const Segment2D<T>&)’:
user.cpp:300:9: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: At global scope:
user.cpp:368:38: error: ISO C++ forbids declaration of ‘operator=’ with no type [-fpermissive]
operator = ( const Circle &C )
^
user.cpp: In member function ‘int Circle<T>::operator=(const Circle<T>&)’:
user.cpp:372:9: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !