Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: The new upgrade system Pin
Anthony Appleyard28-Jul-18 23:39
Anthony Appleyard28-Jul-18 23:39 
GeneralRe: The new upgrade system Pin
Anthony Appleyard28-Jul-18 23:39
Anthony Appleyard28-Jul-18 23:39 
GeneralRe: The new upgrade system Pin
Anthony Appleyard29-Jul-18 0:03
Anthony Appleyard29-Jul-18 0:03 
QuestionTrouble with the current automatic upgrade Pin
Anthony Appleyard28-Jul-18 19:50
Anthony Appleyard28-Jul-18 19:50 
Questionunique_ptr and make_unique -- [SOLVED] Pin
Richard Andrew x6427-Jul-18 17:58
professionalRichard Andrew x6427-Jul-18 17:58 
AnswerRe: unique_ptr and make_unique -- [SOLVED] Pin
Richard MacCutchan28-Jul-18 6:00
mveRichard MacCutchan28-Jul-18 6:00 
GeneralRe: unique_ptr and make_unique -- [SOLVED] Pin
Richard Andrew x6428-Jul-18 11:06
professionalRichard Andrew x6428-Jul-18 11:06 
QuestionWhere I can learn about using wsprintf? Pin
GESY26-Jul-18 8:01
GESY26-Jul-18 8:01 
Where I can learn about using wsprintf? I using Visual Studio 12 with plain C Code Lines.

For examples, this lines give me 2 different results depending on the
formatting I believe but I can't find any practical info about it.

For example what the " >>6" or " >>12" do?

Thanks, check the code below and you see what I mean

DWORD DVALE=19542016;

wsprintf(BUFF, "Version is %d \n Good Night",DVALE >>6 & 0xff);
MessageBox(hWndMain,BUFF,"The Value",MB_OK); // Display 192

wsprintf(BUFF, "Version is %d \n Good Night",DVALE >> 12 & 0xff);
MessageBox(hWndMain,BUFF,"The Value",MB_OK); // Display 163
AnswerRe: Where I can learn about using wsprintf? Pin
Victor Nijegorodov26-Jul-18 8:25
Victor Nijegorodov26-Jul-18 8:25 
AnswerRe: Where I can learn about using wsprintf? Pin
Joe Woodbury26-Jul-18 8:26
professionalJoe Woodbury26-Jul-18 8:26 
GeneralRe: Where I can learn about using wsprintf? Pin
GESY26-Jul-18 16:25
GESY26-Jul-18 16:25 
GeneralRe: Where I can learn about using wsprintf? Pin
Joe Woodbury26-Jul-18 17:45
professionalJoe Woodbury26-Jul-18 17:45 
GeneralRe: Where I can learn about using wsprintf? Pin
GESY27-Jul-18 4:05
GESY27-Jul-18 4:05 
GeneralRe: Where I can learn about using wsprintf? Pin
GESY27-Jul-18 4:07
GESY27-Jul-18 4:07 
AnswerRe: Where I can learn about using wsprintf? Pin
Richard MacCutchan26-Jul-18 22:13
mveRichard MacCutchan26-Jul-18 22:13 
QuestionReturn nothing from a function having return type Pin
meerokh26-Jul-18 0:40
meerokh26-Jul-18 0:40 
AnswerRe: Return nothing from a function having return type Pin
Richard MacCutchan26-Jul-18 1:28
mveRichard MacCutchan26-Jul-18 1:28 
GeneralRe: Return nothing from a function having return type Pin
Member 1392860827-Jul-18 11:43
Member 1392860827-Jul-18 11:43 
GeneralRe: Return nothing from a function having return type Pin
Richard MacCutchan27-Jul-18 21:54
mveRichard MacCutchan27-Jul-18 21:54 
AnswerRe: Return nothing from a function having return type Pin
Jochen Arndt26-Jul-18 1:48
professionalJochen Arndt26-Jul-18 1:48 
AnswerRe: Return nothing from a function having return type Pin
Joe Woodbury26-Jul-18 5:44
professionalJoe Woodbury26-Jul-18 5:44 
QuestionNo Errors but wrong values on return? Pin
GESY25-Jul-18 16:02
GESY25-Jul-18 16:02 
AnswerRe: No Errors but wrong values on return? Pin
Victor Nijegorodov25-Jul-18 20:52
Victor Nijegorodov25-Jul-18 20:52 
GeneralRe: No Errors but wrong values on return? Pin
GESY26-Jul-18 7:58
GESY26-Jul-18 7:58 
GeneralRe: No Errors but wrong values on return? Pin
Victor Nijegorodov26-Jul-18 8:20
Victor Nijegorodov26-Jul-18 8:20 

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.