Click here to Skip to main content
15,879,095 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Measure ITEM ITEMDATA string coming in as Wide Character string Pin
Richard MacCutchan6-Jun-22 21:01
mveRichard MacCutchan6-Jun-22 21:01 
QuestionGrades Pin
Stephanie Foley6-Jun-22 7:38
Stephanie Foley6-Jun-22 7:38 
AnswerRe: Grades Pin
Richard MacCutchan6-Jun-22 9:08
mveRichard MacCutchan6-Jun-22 9:08 
GeneralRe: Grades Pin
Stephanie Foley6-Jun-22 10:03
Stephanie Foley6-Jun-22 10:03 
GeneralRe: Grades Pin
Richard MacCutchan6-Jun-22 10:19
mveRichard MacCutchan6-Jun-22 10:19 
GeneralRe: Grades Pin
jeron16-Jun-22 11:29
jeron16-Jun-22 11:29 
Questionreference question Pin
focusdoit5-Jun-22 12:50
focusdoit5-Jun-22 12:50 
AnswerRe: reference question Pin
k50545-Jun-22 13:26
mvek50545-Jun-22 13:26 
I suspect that whatever QT Creator is doing is somehow creating a const reference . e.g.
C++
int &a = 1; // fails to compile
const int &b = 2;  // compiles fine 

Consider what int &a = 1 means: I.E. create a reference to the integer 1. If that were to compile successfully then consider
C++
int &a = 1;
a = 2;
std::cout << 1 + 1 << '\n';
By the rules of C++, at least as I understand them, that should print 4, since you've changed the value of 1 to 2 at the assignment statement.
Keep Calm and Carry On

AnswerRe: reference question Pin
Richard MacCutchan6-Jun-22 0:52
mveRichard MacCutchan6-Jun-22 0:52 
Questionmath Pin
Calin Negru4-Jun-22 20:13
Calin Negru4-Jun-22 20:13 
AnswerRe: math Pin
Victor Nijegorodov4-Jun-22 20:42
Victor Nijegorodov4-Jun-22 20:42 
AnswerRe: math Pin
Richard MacCutchan4-Jun-22 21:10
mveRichard MacCutchan4-Jun-22 21:10 
GeneralRe: math Pin
Calin Negru4-Jun-22 22:03
Calin Negru4-Jun-22 22:03 
GeneralRe: math Pin
Richard MacCutchan4-Jun-22 22:10
mveRichard MacCutchan4-Jun-22 22:10 
GeneralRe: math Pin
Calin Negru4-Jun-22 23:04
Calin Negru4-Jun-22 23:04 
QuestionGame loop and time measurement. Pin
Member 152127684-Jun-22 5:23
Member 152127684-Jun-22 5:23 
AnswerRe: Game loop and time measurement. Pin
Mircea Neacsu4-Jun-22 7:47
Mircea Neacsu4-Jun-22 7:47 
AnswerRe: Game loop and time measurement. Pin
Calin Negru4-Jun-22 10:43
Calin Negru4-Jun-22 10:43 
QuestionCollege Project Visual Enhancement Pin
Tomás Temperley2-Jun-22 15:31
Tomás Temperley2-Jun-22 15:31 
AnswerRe: College Project Visual Enhancement Pin
Richard MacCutchan2-Jun-22 21:48
mveRichard MacCutchan2-Jun-22 21:48 
GeneralRe: College Project Visual Enhancement Pin
Tomás Temperley3-Jun-22 10:24
Tomás Temperley3-Jun-22 10:24 
GeneralRe: College Project Visual Enhancement Pin
Richard MacCutchan3-Jun-22 22:17
mveRichard MacCutchan3-Jun-22 22:17 
QuestionAdd a context menu item in Windows Explorer (C/C++, no MFC) Pin
Derell Licht1-Jun-22 16:53
professionalDerell Licht1-Jun-22 16:53 
AnswerRe: Add a context menu item in Windows Explorer (C/C++, no MFC) Pin
Victor Nijegorodov1-Jun-22 20:29
Victor Nijegorodov1-Jun-22 20:29 
GeneralRe: Add a context menu item in Windows Explorer (C/C++, no MFC) Pin
Derell Licht2-Jun-22 4:41
professionalDerell Licht2-Jun-22 4:41 

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.