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

C / C++ / MFC

 
AnswerRe: wchar_t in C Pin
leon de boer14-Dec-17 7:08
leon de boer14-Dec-17 7:08 
QuestionMFC libary makefile Pin
jung-kreidler12-Dec-17 4:29
jung-kreidler12-Dec-17 4:29 
QuestionRe: MFC libary makefile Pin
David Crow13-Dec-17 6:54
David Crow13-Dec-17 6:54 
AnswerRe: MFC libary makefile Pin
jung-kreidler13-Dec-17 21:14
jung-kreidler13-Dec-17 21:14 
AnswerRe: MFC libary makefile Pin
Richard MacCutchan13-Dec-17 7:37
mveRichard MacCutchan13-Dec-17 7:37 
GeneralRe: MFC libary makefile Pin
jung-kreidler13-Dec-17 21:17
jung-kreidler13-Dec-17 21:17 
AnswerRe: MFC libary makefile Pin
Randor 13-Dec-17 11:16
professional Randor 13-Dec-17 11:16 
AnswerRe: MFC libary makefile Pin
jung-kreidler13-Dec-17 21:23
jung-kreidler13-Dec-17 21:23 
Questioncurrent user Pin
john563211-Dec-17 19:14
john563211-Dec-17 19:14 
AnswerRe: current user Pin
Jochen Arndt11-Dec-17 23:02
professionalJochen Arndt11-Dec-17 23:02 
AnswerRe: current user Pin
Victor Nijegorodov12-Dec-17 8:34
Victor Nijegorodov12-Dec-17 8:34 
AnswerRe: current user Pin
jschell12-Dec-17 11:38
jschell12-Dec-17 11:38 
GeneralRe: current user Pin
Richard MacCutchan12-Dec-17 22:09
mveRichard MacCutchan12-Dec-17 22:09 
GeneralRe: current user Pin
jschell14-Dec-17 7:40
jschell14-Dec-17 7:40 
GeneralRe: current user Pin
David Crow12-Dec-17 15:42
David Crow12-Dec-17 15:42 
Questionunsigned and signed in C Pin
Anonygeeker11-Dec-17 18:45
Anonygeeker11-Dec-17 18:45 
AnswerRe: unsigned and signed in C Pin
Shaurya Sinha11-Dec-17 19:23
professionalShaurya Sinha11-Dec-17 19:23 
GeneralRe: unsigned and signed in C Pin
Anonygeeker11-Dec-17 20:01
Anonygeeker11-Dec-17 20:01 
GeneralRe: unsigned and signed in C Pin
Shaurya Sinha11-Dec-17 20:05
professionalShaurya Sinha11-Dec-17 20:05 
GeneralRe: unsigned and signed in C Pin
Rick York12-Dec-17 4:45
mveRick York12-Dec-17 4:45 
No, it is most definitely NOT undefined behavior. This is exactly the behavior one should expect. The variable a has the binary value of -26 decimal, or 0xFFFFFFE6 in 32-bit hexadecimal. When it is passed to printf with a %d format specifier it will be interpreted as a signed decimal value and -26 is printed. There is nothing undefined about that. It is interpreting the variable exactly as the format specifier is defined to. It may not be what you want but it is as expected.
GeneralRe: unsigned and signed in C Pin
David Crow12-Dec-17 15:44
David Crow12-Dec-17 15:44 
QuestionWriting a Sorting Algorithm -- NEED HELP! Pin
Member 135671429-Dec-17 11:36
Member 135671429-Dec-17 11:36 
GeneralRe: Writing a Sorting Algorithm -- NEED HELP! Pin
PIEBALDconsult9-Dec-17 11:37
mvePIEBALDconsult9-Dec-17 11:37 
GeneralRe: Writing a Sorting Algorithm -- NEED HELP! Pin
Member 135671429-Dec-17 12:01
Member 135671429-Dec-17 12:01 
GeneralRe: Writing a Sorting Algorithm -- NEED HELP! Pin
Richard MacCutchan9-Dec-17 21:52
mveRichard MacCutchan9-Dec-17 21:52 

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.