pure virtual functions | Sololearn: Learn to code for FREE!

+2

pure virtual functions

"this function has no body...". did you guys read the standard? pure virtual functions can have an implementation.

8/27/2016 7:18:15 PM

Ernst Maurer

3 Answers

New Answer

+1

As much as they can have a body, this app is much rather designed for bare beginners to learn the language. Besides, the chances that you would genuinely need a body for a pure virtual function is slim.

+1

thank you for the reply. I see this from your perspective. but not agree. the guys who learn the language, especially from scratch should have correct understanding, which meets the standard. anyway the product (learning courses and mobile platform) is a perfect. many thanks :)

0

Should change answer to be must have an implementation and remove the no body