Reputation: 3388
I have a very long line:
const string a_string = "a long string with \" .. with \" again ... ... ";
Now this string goes really long, how do I wrap up the line in an elegant way? I tried just break line but it doesn't work. I am actually not sure if this is a IDE problem or compiler problem... Please help!
Upvotes: 0
Views: 1040
Reputation: 1565
Try
const string a_string = "a long string "
"with \" .. with \" "
"again ... ... ";
Upvotes: 9