Click here to Skip to main content
15,922,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to check session created or not in MySQL X DevApi A,k,a X Protocol. Pin
Jochen Arndt15-Dec-17 2:51
professionalJochen Arndt15-Dec-17 2:51 
QuestionC pre increment and post increment Pin
Anonygeeker13-Dec-17 23:27
Anonygeeker13-Dec-17 23:27 
AnswerRe: C pre increment and post increment Pin
Richard MacCutchan13-Dec-17 23:52
mveRichard MacCutchan13-Dec-17 23:52 
GeneralRe: C pre increment and post increment Pin
Anonygeeker14-Dec-17 1:05
Anonygeeker14-Dec-17 1:05 
AnswerRe: C pre increment and post increment Pin
Jochen Arndt14-Dec-17 0:01
professionalJochen Arndt14-Dec-17 0:01 
GeneralRe: C pre increment and post increment Pin
Anonygeeker14-Dec-17 1:05
Anonygeeker14-Dec-17 1:05 
GeneralRe: C pre increment and post increment Pin
leon de boer14-Dec-17 6:16
leon de boer14-Dec-17 6:16 
AnswerRe: C pre increment and post increment Pin
Daniel Pfeffer14-Dec-17 2:00
professionalDaniel Pfeffer14-Dec-17 2:00 
This expression is undefined by the C Standard, meaning that the compiler can do anything with it, including formatting your disk or causing demons to fly out of your nose. You should consider yourself lucky that the compiler only incremented 'x' in a weird manner. Smile | :)

Note that even changing the compiler options (e.g. optimization) might change the printed results, so even if this "appears to work properly" on your system - DON'T DO IT!

(On comp.std.c and comp.lang.c they used to refer to a notional system, the DeathStation 9000, that would actually create Nasal Demons when it encountered undefined expressions Smile | :) )
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.

--Winston Churchill

GeneralRe: C pre increment and post increment Pin
Anonygeeker14-Dec-17 17:15
Anonygeeker14-Dec-17 17:15 
Questionwchar_t in C Pin
Anonygeeker13-Dec-17 22:18
Anonygeeker13-Dec-17 22:18 
AnswerRe: wchar_t in C Pin
CPallini13-Dec-17 22:44
mveCPallini13-Dec-17 22:44 
AnswerRe: wchar_t in C Pin
Jochen Arndt13-Dec-17 22:50
professionalJochen Arndt13-Dec-17 22:50 
GeneralRe: wchar_t in C Pin
Anonygeeker13-Dec-17 23:51
Anonygeeker13-Dec-17 23:51 
GeneralRe: wchar_t in C Pin
Jochen Arndt14-Dec-17 0:09
professionalJochen Arndt14-Dec-17 0:09 
GeneralRe: wchar_t in C Pin
jschell14-Dec-17 8:48
jschell14-Dec-17 8:48 
GeneralRe: wchar_t in C Pin
Jochen Arndt14-Dec-17 11:46
professionalJochen Arndt14-Dec-17 11:46 
GeneralRe: wchar_t in C Pin
jschell16-Dec-17 8:34
jschell16-Dec-17 8:34 
GeneralRe: wchar_t in C Pin
Jochen Arndt17-Dec-17 0:33
professionalJochen Arndt17-Dec-17 0:33 
GeneralRe: wchar_t in C Pin
jschell18-Dec-17 15:30
jschell18-Dec-17 15:30 
GeneralRe: wchar_t in C Pin
Jochen Arndt18-Dec-17 21:12
professionalJochen Arndt18-Dec-17 21:12 
GeneralRe: wchar_t in C Pin
jschell23-Dec-17 12:50
jschell23-Dec-17 12:50 
GeneralRe: wchar_t in C Pin
Anonygeeker14-Dec-17 17:25
Anonygeeker14-Dec-17 17:25 
GeneralRe: wchar_t in C Pin
Jochen Arndt14-Dec-17 20:48
professionalJochen Arndt14-Dec-17 20:48 
GeneralRe: wchar_t in C Pin
Anonygeeker14-Dec-17 21:53
Anonygeeker14-Dec-17 21:53 
AnswerRe: wchar_t in C Pin
leon de boer14-Dec-17 7:08
leon de boer14-Dec-17 7:08 

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.