Home > other >  A long string to break to write, how to do?
A long string to break to write, how to do?

Time:11-22

There is a string "... ", a long, a line written not over, need to wrap and then write, but after the break, the second line font is not change color, obviously not then on a line of string, how to do?

CodePudding user response:

\ n + _=

CodePudding user response:

As shown in figure, the string is not connected,

CodePudding user response:

,,,,,, is \ n!!!!! + _=is expression,,, I am cold, and have to learn C language yao, this is too basic

CodePudding user response:

Learn Qt or must be familiar with C, C + + copying code char * aaa="aaaaaaaaaaaa \ continue \ continue"; Char * BBB="aaaaaaaaaaa" "continue" "continue";

CodePudding user response:

O learn ing,,,

CodePudding user response:

Actually if you are using is a QString in QT, so to write: a QString STR="Select * from aaaaa where" "field1=and=field2 yyy" XXX "having... ";

CodePudding user response:

String="aaaa" aa +
"BBBB"; This also not line?
  • Related