+ 1

After compilation,this error is generating .. How to overcome this code from fatal error.

fatal error: iostream: No such file and directory #include <iostream> compilation terminated... https://code.sololearn.com/chPeUOOIM5Zt/?ref=app

28th Apr 2018, 6:44 PM
Shivani Dakre
Shivani Dakre - avatar
4 Respuestas
+ 3
Try using just iostream without .h and you cant use graphic.h sololearn doesn't know this library
28th Apr 2018, 6:54 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 2
You can simply try if a library causes an error. Also only console applications can be run in the playground. In your case the program seem to change the text color (with graphics.h i guess) which is not supported anyway.
29th Apr 2018, 11:08 AM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 2
Aaron Eberhardt thank you soo much for wonderful co opertion ..👍
29th Apr 2018, 2:35 PM
Shivani Dakre
Shivani Dakre - avatar
+ 1
how would i know which library functions allowed by sololearn m new user soo help me.. how can i overcome through this error? if m not using graphics.h then all functions are showing error or not.
29th Apr 2018, 5:51 AM
Shivani Dakre
Shivani Dakre - avatar