Click here to Skip to main content
15,889,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp For ToolTipText in VC++ Pin
phijophlip13-Jan-05 22:03
phijophlip13-Jan-05 22:03 
Questionhow to get ethernet card ip address Pin
vc-programmer-13-Jan-05 21:44
vc-programmer-13-Jan-05 21:44 
AnswerRe: how to get ethernet card ip address Pin
pc_dev13-Jan-05 23:05
pc_dev13-Jan-05 23:05 
GeneralRe: how to get ethernet card ip address Pin
vc-programmer-13-Jan-05 23:22
vc-programmer-13-Jan-05 23:22 
GeneralRe: how to get ethernet card ip address Pin
David Crow14-Jan-05 2:54
David Crow14-Jan-05 2:54 
General#include header files order. Pin
rbid13-Jan-05 21:34
rbid13-Jan-05 21:34 
GeneralRe: #include header files order. Pin
Iain Clarke, Warrior Programmer13-Jan-05 23:56
Iain Clarke, Warrior Programmer13-Jan-05 23:56 
GeneralRe: #include header files order. Pin
Dimitris Vikeloudas15-Jan-05 2:01
Dimitris Vikeloudas15-Jan-05 2:01 
Hi
Although is not strictly what you are asking it may be a usefull information.

Order usually matters when a header file is not well written. This means that either it does not contain required definitions (thus relies on a accidental inclusion of another header file above to be completed) or two headers contain the same definition and when they are both included may produce problems. Thus, despite the chosen order a good advice is to write your private headers carefully.

Personaly when I write them I follow the following style: Assyme that I write a header called myheder.h. It would be in the style

// A unique symbol to protect my code
#ifndef MY_APP_MY_HEADER_H
#define MY_APP_MY_HEADER_H 1

..... include headers required for that header file

.... write here the actual header code
#endif /* MY_APP_MY_HEADER_H */

Headers written this way are guaranteed to be included once and be self contain. Their inclusion then is order independant.



General"Virutal" drive Pin
13-Jan-05 18:43
suss13-Jan-05 18:43 
GeneralRe: "Virutal" drive Pin
Ryan Binns13-Jan-05 19:18
Ryan Binns13-Jan-05 19:18 
GeneralRe: "Virutal" drive Pin
Mathieu Deslauriers13-Jan-05 19:49
Mathieu Deslauriers13-Jan-05 19:49 
GeneralCreate Reports similar to Access Pin
Toni7813-Jan-05 18:06
Toni7813-Jan-05 18:06 
GeneralRe: Create Reports similar to Access Pin
Andrew Walker13-Jan-05 18:46
Andrew Walker13-Jan-05 18:46 
GeneralRe: Create Reports similar to Access Pin
Ryan Binns13-Jan-05 19:23
Ryan Binns13-Jan-05 19:23 
GeneralRe: Create Reports similar to Access Pin
Iain Clarke, Warrior Programmer14-Jan-05 0:11
Iain Clarke, Warrior Programmer14-Jan-05 0:11 
GeneralRe: Create Reports similar to Access Pin
RomanBe14-Jan-05 2:45
RomanBe14-Jan-05 2:45 
GeneralRe: Create Reports similar to Access Pin
Toni7815-Jan-05 19:14
Toni7815-Jan-05 19:14 
Generalquestion "true" and "TRUE" in vc+++ Pin
phijophlip13-Jan-05 17:03
phijophlip13-Jan-05 17:03 
GeneralRe: question "true" and "TRUE" in vc+++ Pin
ThatsAlok13-Jan-05 17:47
ThatsAlok13-Jan-05 17:47 
GeneralRe: question "true" and "TRUE" in vc+++ Pin
toxcct13-Jan-05 21:33
toxcct13-Jan-05 21:33 
GeneralRe: question "true" and "TRUE" in vc+++ Pin
KaЯl14-Jan-05 1:44
KaЯl14-Jan-05 1:44 
GeneralRe: question "true" and "TRUE" in vc+++ Pin
toxcct14-Jan-05 21:54
toxcct14-Jan-05 21:54 
GeneralRe: question "true" and "TRUE" in vc+++ Pin
KaЯl14-Jan-05 22:25
KaЯl14-Jan-05 22:25 
GeneralRe: question "true" and "TRUE" in vc+++ Pin
Martin Koorts14-Jan-05 3:02
Martin Koorts14-Jan-05 3:02 
Questionhow to display Powerpoint's presentations by OLE? Pin
supershine13-Jan-05 16:47
supershine13-Jan-05 16:47 

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.