Why is it not being executed??? Plz tell me the corrections required | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is it not being executed??? Plz tell me the corrections required

Program : Inheritance by using virtual function https://code.sololearn.com/cJbGm6caOG5p/?ref=app

3rd Feb 2020, 3:59 AM
Siddhant Bhagat
Siddhant Bhagat - avatar
1 Answer
+ 2
Notes: - In the top, you should write #include <iostream> rather than iostream.h - The C++ compiler here in SoloLearn does not support conio.h (I think) - Replace 'namespace std;' with "using namespace std;" - It should be int main() and not double main() Sorry buts that is all I can correct
3rd Feb 2020, 4:56 AM
KnuckleBars
KnuckleBars - avatar