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

Unknown ERROR

A paragraph is written in double qutotion marks.. but instead of printing it it shows error . https://code.sololearn.com/cpuBt33gH4Wl/?ref=app

7th Sep 2018, 12:31 PM
C ++
C ++ - avatar
3 Answers
+ 4
Usman Khan The paragraph that you in cout is not registering as text. Try clear formating it or typing manually.
7th Sep 2018, 12:57 PM
Manual
Manual - avatar
+ 3
Multiline strings must end with a '\' for each additional line. Also if you want them to be newlines then you also have to include '\n'. For example: "Guitar Subset\n\ \n\ For a list of...\n\ ...\n\ ...are positive." or even better, put every line in "": "Guitar Subset\n"\ "\n"\ "For a list of...\n"\ "...\n"\ "...are positive."
7th Sep 2018, 1:05 PM
Dennis
Dennis - avatar
+ 1
Oops
18th Sep 2018, 6:27 AM
Akash Barle