0
Why compiler can not execute this code?
Hi guys, I d gone crazy doing this program on my computer but when I pasted it in Sololearn compiler, it printed: Compiler error even it had worked on DevC++. Maybe because I used both C and C++? https://code.sololearn.com/c4Hd1XzlZJtO/?ref=app
3 Answers
+ 2
Yeah, that is the issue. Sololearn can't read c and c++ at the same time. Try swapping printf for cout and gets for cin.
0
Even my Python codes donât work on SoloLearn.
0
Julien Quentin, if you d read more carefully, I 've written that everything is valid on my compiler on a computer )