Click here to Skip to main content
15,867,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Richard Andrew x6429-May-17 3:24
professionalRichard Andrew x6429-May-17 3:24 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Randor 29-May-17 9:57
professional Randor 29-May-17 9:57 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer29-May-17 18:12
leon de boer29-May-17 18:12 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer29-May-17 18:02
leon de boer29-May-17 18:02 
AnswerRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Randor 29-May-17 9:50
professional Randor 29-May-17 9:50 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer22-May-17 5:27
leon de boer22-May-17 5:27 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Richard MacCutchan22-May-17 6:45
mveRichard MacCutchan22-May-17 6:45 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Bram van Kampen2-Jun-17 14:58
Bram van Kampen2-Jun-17 14:58 
Hi,

Just a Comment.

I assume that you understand that each 'C' or 'CPP' File, gets compiled into One and only One '.obj' module.
The Linker stitches all those 'Obj' modules together, to create an Exe or DLL, your Target. In doing so, your program needs to link with other libraries and DLL's already on the system. For Instance, your program uses the keyboard, and uses the mouse. You did not have to write the code inside your program to track the mouse movements, register the clicks, etc. That was already done by Microsoft, and comes as part of the Windows Package. Now, Microsoft wrote all that stuff, but, the compiler needs to know what is available from Microsoft, I.e.: the function and other specifications that the Windows API provides. These specifications are included in the System Headers. If you change these specifications to suit your own purpose, well, it Might work if you also 'Re Compiled Windows'

If you mess with your system header files, you are actually telling your compiler that Windows works different than that it actually does.

Your Compiler caught you out, and stopped you writing a disaster.

include files do not make your program larger, at most it slows down your compiler and linker



All Software Engineers should Learn and Train Machine and Assembly Language, so as to really Understand how a computer Works

Bram van Kampen

Questionfytjfc Pin
Mehul Mahajan21-May-17 0:25
Mehul Mahajan21-May-17 0:25 
AnswerRe: plz solve this module asap Pin
OriginalGriff21-May-17 0:25
mveOriginalGriff21-May-17 0:25 
AnswerRe: plz solve this module asap Pin
leon de boer21-May-17 4:21
leon de boer21-May-17 4:21 
AnswerRe: plz solve this module asap Pin
NotPolitcallyCorrect21-May-17 5:27
NotPolitcallyCorrect21-May-17 5:27 
QuestionOpenMP parallel file writing Pin
Ashish Ranjan Mishra19-May-17 22:48
Ashish Ranjan Mishra19-May-17 22:48 
AnswerRe: OpenMP parallel file writing Pin
Richard MacCutchan19-May-17 22:54
mveRichard MacCutchan19-May-17 22:54 
AnswerRe: OpenMP parallel file writing Pin
Afzaal Ahmad Zeeshan20-May-17 0:12
professionalAfzaal Ahmad Zeeshan20-May-17 0:12 
AnswerRe: OpenMP parallel file writing Pin
David Crow20-May-17 10:13
David Crow20-May-17 10:13 
AnswerRe: OpenMP parallel file writing Pin
Randor 20-May-17 10:37
professional Randor 20-May-17 10:37 
QuestionHow To Add New Code - NetBeans Pin
Django_Untaken17-May-17 9:09
Django_Untaken17-May-17 9:09 
AnswerRe: How To Add New Code - NetBeans Pin
Rick York17-May-17 10:20
mveRick York17-May-17 10:20 
SuggestionRe: How To Add New Code - NetBeans Pin
Richard MacCutchan17-May-17 21:25
mveRichard MacCutchan17-May-17 21:25 
QuestionCOleVariant to COLORREF Pin
_Flaviu12-May-17 6:27
_Flaviu12-May-17 6:27 
QuestionRe: COleVariant to COLORREF Pin
David Crow12-May-17 9:45
David Crow12-May-17 9:45 
AnswerRe: COleVariant to COLORREF Pin
_Flaviu13-May-17 21:17
_Flaviu13-May-17 21:17 
AnswerRe: COleVariant to COLORREF Pin
_Flaviu14-May-17 20:14
_Flaviu14-May-17 20:14 
QuestionArray of char* Pin
Django_Untaken11-May-17 23:54
Django_Untaken11-May-17 23:54 

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.