Click here to Skip to main content
15,566,064 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionlinker error lnk2005 Pin
Roberto64_Ge29-Aug-22 5:19
Roberto64_Ge29-Aug-22 5:19 
AnswerRe: linker error lnk2005 Pin
k505429-Aug-22 5:35
mvek505429-Aug-22 5:35 
GeneralRe: linker error lnk2005 Pin
Roberto64_Ge29-Aug-22 6:03
Roberto64_Ge29-Aug-22 6:03 
GeneralRe: linker error lnk2005 Pin
k505429-Aug-22 6:09
mvek505429-Aug-22 6:09 
GeneralRe: linker error lnk2005 Pin
Roberto64_Ge29-Aug-22 6:13
Roberto64_Ge29-Aug-22 6:13 
GeneralRe: linker error lnk2005 Pin
k505429-Aug-22 6:28
mvek505429-Aug-22 6:28 
GeneralRe: linker error lnk2005 Pin
Roberto64_Ge29-Aug-22 9:56
Roberto64_Ge29-Aug-22 9:56 
AnswerRe: linker error lnk2005 Pin
Richard MacCutchan29-Aug-22 5:45
mveRichard MacCutchan29-Aug-22 5:45 
Roberto64_Ge wrote:
main.cpp includes header.cpp which includes header.h
This means that all the definitions in header.cpp will be duplicated in the object files. Do not include .cpp files in others, only include the actual headers, i.e. in this case main.cpp should only include header.h.
GeneralRe: linker error lnk2005 Pin
Roberto64_Ge29-Aug-22 6:14
Roberto64_Ge29-Aug-22 6:14 
Questiontracking down linker errors Pin
Calin Negru27-Aug-22 4:50
Calin Negru27-Aug-22 4:50 
AnswerRe: tracking down linker errors Pin
Mircea Neacsu27-Aug-22 5:03
Mircea Neacsu27-Aug-22 5:03 
SuggestionRe: tracking down linker errors Pin
Richard MacCutchan27-Aug-22 7:44
mveRichard MacCutchan27-Aug-22 7:44 
General[solved]Re: tracking down linker errors Pin
Calin Negru27-Aug-22 9:01
Calin Negru27-Aug-22 9:01 
QuestionUsing nlohmann JSON to insert more data Pin
Kiran Satish26-Aug-22 8:03
Kiran Satish26-Aug-22 8:03 
AnswerRe: Using nlohmann JSON to insert more data Pin
Mircea Neacsu26-Aug-22 9:53
Mircea Neacsu26-Aug-22 9:53 
QuestionQuestion About CToolTipCtrl Pin
ForNow24-Aug-22 9:33
ForNow24-Aug-22 9:33 
AnswerRe: Question About CToolTipCtrl Pin
Victor Nijegorodov24-Aug-22 22:53
Victor Nijegorodov24-Aug-22 22:53 
GeneralRe: Question About CToolTipCtrl Pin
ForNow24-Aug-22 23:19
ForNow24-Aug-22 23:19 
GeneralRe: Question About CToolTipCtrl Pin
Victor Nijegorodov25-Aug-22 0:56
Victor Nijegorodov25-Aug-22 0:56 
GeneralRe: Question About CToolTipCtrl Pin
ForNow25-Aug-22 2:36
ForNow25-Aug-22 2:36 
GeneralRe: Question About CToolTipCtrl Pin
Victor Nijegorodov25-Aug-22 3:18
Victor Nijegorodov25-Aug-22 3:18 
GeneralRe: Question About CToolTipCtrl Pin
Victor Nijegorodov25-Aug-22 3:44
Victor Nijegorodov25-Aug-22 3:44 
GeneralRe: Question About CToolTipCtrl Pin
ForNow25-Aug-22 4:01
ForNow25-Aug-22 4:01 
QuestionProperly document C++ code for use in Intellisense ? Pin
Maximilien22-Aug-22 6:14
Maximilien22-Aug-22 6:14 
AnswerRe: Properly document C++ code for use in Intellisense ? Pin
Richard MacCutchan22-Aug-22 22:28
mveRichard MacCutchan22-Aug-22 22:28 

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.