Message from C, C++ talks

June 2019

— This is the first point in why we use virtual functions..

— How can I add graphics.h to dev-c++

— Bcz pf dynamic binding.... if you declare virtual function in base class.... it will overridable....

— /


Simply declare the members function in the derived class and define a new implimentation for that member function

— Ok thanks 😁👍

— Got the point or not? Still confused

— Bcz your pointer defines only base class function if you declare in base clas... so in base class use virtual function... so that it will override.... then... you can use easily base class pointers in different class also...

Message permanent page

— Ah I missed that from the original question. Yes if it is in a catch block then execution will continue normally

Message permanent page

— Ya clear now 😁🐙

— So if there is no try and catch and the program throws an exception then it will terminate?

— How can I add graphics.h to dev-c++

— /

— Where is the pine message

— I am human