Circle class call | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Circle class call

Everything is correct except for calling the class I guess. Where is the mistake? Thank youuu https://code.sololearn.com/cg3qxLlVW3Gk/?ref=app

12th Jan 2021, 8:45 AM
🏐Volley
🏐Volley - avatar
2 Answers
+ 3
Before any calling, your #include statement in line 3 is wrong for 3 reasons. 1)There is no semicolon at the end of #include statements. Actually, there is no semicolon at the end of any "#" statement e.g. #define, #ifdef e t.c 2)You called it wrong. You can call header files with <something.h> OR "something.h" but not the way you did. 3)To the best of my knowledge, Circle.h is not a standard header file. And I don't think you can include custom/personal header files in sololearn
12th Jan 2021, 9:10 AM
Sekiro
Sekiro - avatar
+ 2
Ahaa okayyyy thank you Tarvs for the tips🤩☺️☺️
12th Jan 2021, 9:43 AM
🏐Volley
🏐Volley - avatar