Getting error code in playground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Getting error code in playground

Please help! This is the error code I get every time: ./Playground/file0.cpp:1:1: error: expected unqualified-id before '<' token 1 | <!DOCTYPE html> | ^

10th Sep 2020, 5:53 AM
JGM
5 Answers
+ 5
You’re trying to make a Web code in the C++ Playground.
10th Sep 2020, 5:58 AM
Rowsej
Rowsej - avatar
+ 2
JGM I think it’s a SoloLearn bug. I’ve already emailed them.
10th Sep 2020, 7:45 AM
Rowsej
Rowsej - avatar
+ 1
Okay thanks. I’m way too new to know.
10th Sep 2020, 1:52 PM
JGM
0
hmmm....i’m in JS tutorial and the “try it yourself” screen shows a “js” in upper right corner. Is there a setting i’m not seeing?
10th Sep 2020, 6:03 AM
JGM
0
It looks like I’ll just use Code Playground html rather than “TRY IT YOURSELF” feature in the Java tutorial for now until i can figure out why it won’t work. Thanks for giving me a clue as to why it wasn’t working!
10th Sep 2020, 6:41 AM
JGM