Click here to Skip to main content
15,893,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Creating a pointer and asigning a variable address to it Pin
Gerry Schmitz23-Apr-23 8:58
mveGerry Schmitz23-Apr-23 8:58 
AnswerRe: Creating a pointer and asigning a variable address to it Pin
Victor Nijegorodov23-Apr-23 20:14
Victor Nijegorodov23-Apr-23 20:14 
AnswerRe: Creating a pointer and asigning a variable address to it Pin
Richard MacCutchan23-Apr-23 21:26
mveRichard MacCutchan23-Apr-23 21:26 
GeneralRe: Creating a pointer and asigning a variable address to it Pin
Calin Negru23-Apr-23 22:39
Calin Negru23-Apr-23 22:39 
GeneralRe: Creating a pointer and asigning a variable address to it Pin
harold aptroot23-Apr-23 21:49
harold aptroot23-Apr-23 21:49 
GeneralRe: Creating a pointer and asigning a variable address to it Pin
CPallini25-Apr-23 20:27
mveCPallini25-Apr-23 20:27 
QuestionMessage Closed Pin
22-Apr-23 6:51
Member 1496877122-Apr-23 6:51 
AnswerRe: How to implement "\n" in QT QDebug class Pin
k505422-Apr-23 7:32
mvek505422-Apr-23 7:32 
Have you even looked at the documentation for QDebug?

Specifically :
Quote:
QDebug &QDebug::operator<<(QChar t)
Writes the character, t, to the stream and returns a reference to the stream. Normally, QDebug prints control characters and non-US-ASCII characters as their C escape sequences or their Unicode value (\u1234). To print non-printable characters without transformation, enable the noquote() functionality, but note that some QDebug backends may not be 8-bit clean and may not be able to represent it.

which leads us to:
Quote:
QDebug &QDebug::noquote()
Disables automatic insertion of quotation characters around QChar, QString and QByteArray contents and returns a reference to the stream.

When quoting is disabled, these types are printed without quotation characters and without escaping of non-printable characters.

If you need quoted output, its simple enough to do it yourself, just escape the quotes (\") or use Raw literals e.g. std::string hello(R"x("Hello World")x") assigns "Hello World", *including the quote marks" to the variable hello,

NB. I have not tried this. I do not use QT. I don't know if this will achieve what you want. I do know how to use google, though. It's more than time enough that you did too.
Keep Calm and Carry On

GeneralMessage Closed Pin
22-Apr-23 13:00
Member 1496877122-Apr-23 13:00 
GeneralRe: How to implement "\n" in QT QDebug class Pin
Richard MacCutchan22-Apr-23 21:10
mveRichard MacCutchan22-Apr-23 21:10 
Questionget text of SysListView32(LVS_OWNERDATA+LVS_OWNERDRAWFIXED) items from other applications Pin
Ilqar Sadiqov8-Apr-23 9:02
Ilqar Sadiqov8-Apr-23 9:02 
AnswerRe: get text of SysListView32(LVS_OWNERDATA+LVS_OWNERDRAWFIXED) items from other applications Pin
Richard MacCutchan8-Apr-23 21:01
mveRichard MacCutchan8-Apr-23 21:01 
GeneralRe: get text of SysListView32(LVS_OWNERDATA+LVS_OWNERDRAWFIXED) items from other applications Pin
Ilqar Sadiqov9-Apr-23 20:46
Ilqar Sadiqov9-Apr-23 20:46 
GeneralRe: get text of SysListView32(LVS_OWNERDATA+LVS_OWNERDRAWFIXED) items from other applications Pin
Richard MacCutchan9-Apr-23 22:14
mveRichard MacCutchan9-Apr-23 22:14 
GeneralRe: get text of SysListView32(LVS_OWNERDATA+LVS_OWNERDRAWFIXED) items from other applications Pin
Dave Kreskowiak10-Apr-23 1:59
mveDave Kreskowiak10-Apr-23 1:59 
Questionc++ Pin
EvelynChristian7-Apr-23 5:01
EvelynChristian7-Apr-23 5:01 
AnswerRe: c++ Pin
Victor Nijegorodov7-Apr-23 6:45
Victor Nijegorodov7-Apr-23 6:45 
GeneralRe: c++ Pin
Richard MacCutchan7-Apr-23 7:20
mveRichard MacCutchan7-Apr-23 7:20 
GeneralRe: c++ Pin
Victor Nijegorodov7-Apr-23 7:30
Victor Nijegorodov7-Apr-23 7:30 
GeneralRe: c++ Pin
jschell7-Apr-23 9:13
jschell7-Apr-23 9:13 
GeneralRe: c++ Pin
Richard MacCutchan7-Apr-23 21:57
mveRichard MacCutchan7-Apr-23 21:57 
QuestionSnooker Game programing using c Programing. Pin
Francis Lagar3-Apr-23 7:37
Francis Lagar3-Apr-23 7:37 
AnswerRe: Snooker Game programing using c Programing. Pin
Richard MacCutchan3-Apr-23 9:57
mveRichard MacCutchan3-Apr-23 9:57 
AnswerRe: Snooker Game programing using c Programing. Pin
Gerry Schmitz3-Apr-23 10:19
mveGerry Schmitz3-Apr-23 10:19 
AnswerRe: Snooker Game programing using c Programing. Pin
jschell4-Apr-23 6:24
jschell4-Apr-23 6:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.