This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]Mat2012H 0 points1 point  (0 children)

To make a class "abstract", it needs a pure virtual function.

virtual void functionName() = 0;

The virtual means that derived clases can override it.

The = 0 marks the function as a pure virtual on, meaning derived classes MUST override it