Click here to Skip to main content
15,921,716 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL Hook - Get Host Process ID Pin
Joe_Dert31-Aug-10 0:06
Joe_Dert31-Aug-10 0:06 
QuestionSTL / Custom Linked List Pin
Fareed Rizkalla30-Aug-10 11:06
Fareed Rizkalla30-Aug-10 11:06 
AnswerRe: STL / Custom Linked List Pin
Luc Pattyn30-Aug-10 11:30
sitebuilderLuc Pattyn30-Aug-10 11:30 
GeneralRe: STL / Custom Linked List Pin
Fareed Rizkalla30-Aug-10 11:55
Fareed Rizkalla30-Aug-10 11:55 
GeneralRe: STL / Custom Linked List PinPopular
Luc Pattyn30-Aug-10 12:11
sitebuilderLuc Pattyn30-Aug-10 12:11 
GeneralRe: STL / Custom Linked List Pin
Blake Miller3-Sep-10 12:30
Blake Miller3-Sep-10 12:30 
GeneralRe: STL / Custom Linked List Pin
Luc Pattyn3-Sep-10 14:52
sitebuilderLuc Pattyn3-Sep-10 14:52 
AnswerRe: STL / Custom Linked List PinPopular
Maximilien30-Aug-10 13:43
Maximilien30-Aug-10 13:43 
AnswerRe: STL / Custom Linked List Pin
Emilio Garavaglia30-Aug-10 20:04
Emilio Garavaglia30-Aug-10 20:04 
Questionre:looking for winsock listener tcp c++ example that supports multiple potential clients Pin
Alan Kurlansky30-Aug-10 11:05
Alan Kurlansky30-Aug-10 11:05 
AnswerRe: re:looking for winsock listener tcp c++ example that supports multiple potential clients Pin
Fareed Rizkalla30-Aug-10 11:10
Fareed Rizkalla30-Aug-10 11:10 
AnswerRe: re:looking for winsock listener tcp c++ example that supports multiple potential clients Pin
Moak30-Aug-10 12:00
Moak30-Aug-10 12:00 
QuestionOnInitDialog is not getting called from DoModal in VS2005 [modified] Pin
funwithdolphin30-Aug-10 2:49
funwithdolphin30-Aug-10 2:49 
AnswerRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
Richard MacCutchan30-Aug-10 4:05
mveRichard MacCutchan30-Aug-10 4:05 
AnswerRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
Eugen Podsypalnikov30-Aug-10 4:30
Eugen Podsypalnikov30-Aug-10 4:30 
GeneralRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
funwithdolphin30-Aug-10 5:24
funwithdolphin30-Aug-10 5:24 
GeneralRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
Eugen Podsypalnikov30-Aug-10 5:29
Eugen Podsypalnikov30-Aug-10 5:29 
GeneralRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
funwithdolphin31-Aug-10 3:51
funwithdolphin31-Aug-10 3:51 
GeneralRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
funwithdolphin31-Aug-10 21:53
funwithdolphin31-Aug-10 21:53 
GeneralRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
funwithdolphin31-Aug-10 23:24
funwithdolphin31-Aug-10 23:24 
QuestionReplace exe in Install shield Pin
raju_shiva30-Aug-10 0:33
raju_shiva30-Aug-10 0:33 
AnswerRe: Replace exe in Install shield Pin
ThatsAlok30-Jun-11 23:59
ThatsAlok30-Jun-11 23:59 
QuestionHow to achieve pushbutton type effect using bitmaps Pin
sayonee29-Aug-10 22:23
sayonee29-Aug-10 22:23 
AnswerRe: How to achieve pushbutton type effect using bitmaps Pin
Sauro Viti30-Aug-10 6:43
professionalSauro Viti30-Aug-10 6:43 
QuestionMultiple includes Pin
Shy Agam29-Aug-10 21:49
Shy Agam29-Aug-10 21:49 
Hello experts,

I recently solved my duplicate includes problem using the #ifndef-#define-#endif pre-processors.

However, this somehow causes a problem if classes from the same .h file should be used by different .cpp files.
The first .cpp file including the .h file gets compiled, but the others throw an "undefined reference" compile error.
It's as if I never included the .h file on the other files.

How can I overcome both duplicate includes and single includes problems?

A bit on my workstation:
OS: Ubuntu.
IDE: Eclipse.
Compiler: g++


Thanks in advance,
Shy.

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.