C++ problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

C++ problem

Why can't I use the printf () function in the Sololearn compiler? https://code.sololearn.com/cJkokphR37Gi/?ref=app

25th Oct 2017, 4:30 PM
Paolo Torregroza
Paolo Torregroza - avatar
2 Answers
+ 4
you can use the printf function but you used windows.h and conio.h , that's not supported here . and moreover don't write ".h" here use #include<cstdlib>
25th Oct 2017, 4:52 PM
RZK 022
RZK 022 - avatar
+ 2
SoloLearn doesn't support a lot of libraries. It is only meant to teach the beginnings of a language. You can use the full syntax of the language, but only the libraries they choose to support.
25th Oct 2017, 4:49 PM
John Wells
John Wells - avatar