Click here to Skip to main content
15,180,707 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Richard Andrew x6429-May-17 4:24
professionalRichard Andrew x6429-May-17 4:24 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Randor 29-May-17 10:57
professional Randor 29-May-17 10:57 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer29-May-17 19:12
Memberleon de boer29-May-17 19:12 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer29-May-17 19:02
Memberleon de boer29-May-17 19:02 
AnswerRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Randor 29-May-17 10:50
professional Randor 29-May-17 10:50 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer22-May-17 6:27
Memberleon de boer22-May-17 6:27 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Richard MacCutchan22-May-17 7:45
mveRichard MacCutchan22-May-17 7:45 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Bram van Kampen2-Jun-17 15:58
MemberBram van Kampen2-Jun-17 15: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 1:25
MemberMehul Mahajan21-May-17 1:25 
AnswerRe: plz solve this module asap Pin
OriginalGriff21-May-17 1:25
mveOriginalGriff21-May-17 1:25 
AnswerRe: plz solve this module asap Pin
leon de boer21-May-17 5:21
Memberleon de boer21-May-17 5:21 
AnswerRe: plz solve this module asap Pin
NotPolitcallyCorrect21-May-17 6:27
MemberNotPolitcallyCorrect21-May-17 6:27 
QuestionOpenMP parallel file writing Pin
Ashish Ranjan Mishra19-May-17 23:48
MemberAshish Ranjan Mishra19-May-17 23:48 
AnswerRe: OpenMP parallel file writing Pin
Richard MacCutchan19-May-17 23:54
mveRichard MacCutchan19-May-17 23:54 
AnswerRe: OpenMP parallel file writing Pin
Afzaal Ahmad Zeeshan20-May-17 1:12
mveAfzaal Ahmad Zeeshan20-May-17 1:12 
AnswerRe: OpenMP parallel file writing Pin
David Crow20-May-17 11:13
MemberDavid Crow20-May-17 11:13 
AnswerRe: OpenMP parallel file writing Pin
Randor 20-May-17 11:37
professional Randor 20-May-17 11:37 
QuestionHow To Add New Code - NetBeans Pin
Django_Untaken17-May-17 10:09
MemberDjango_Untaken17-May-17 10:09 
AnswerRe: How To Add New Code - NetBeans Pin
Rick York17-May-17 11:20
mveRick York17-May-17 11:20 
SuggestionRe: How To Add New Code - NetBeans Pin
Richard MacCutchan17-May-17 22:25
mveRichard MacCutchan17-May-17 22:25 
QuestionCOleVariant to COLORREF Pin
_Flaviu12-May-17 7:27
Member_Flaviu12-May-17 7:27 
QuestionRe: COleVariant to COLORREF Pin
David Crow12-May-17 10:45
MemberDavid Crow12-May-17 10:45 
AnswerRe: COleVariant to COLORREF Pin
_Flaviu13-May-17 22:17
Member_Flaviu13-May-17 22:17 
AnswerRe: COleVariant to COLORREF Pin
_Flaviu14-May-17 21:14
Member_Flaviu14-May-17 21:14 
QuestionArray of char* Pin
Django_Untaken12-May-17 0:54
MemberDjango_Untaken12-May-17 0: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.