Error: cannot declare variable ‘c’ to be of abstract type ‘circle’

virtual void draw() const { 
    cout<< "Circle"<< endl; 
} 

You should add the keyword const like in the example above.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)