Click here to Skip to main content
15,891,856 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSlicing code for rapid prototyping Pin
M.Sendil Kumar5-Apr-06 17:47
M.Sendil Kumar5-Apr-06 17:47 
QuestionInternet Programming Pin
CNewbie5-Apr-06 17:27
CNewbie5-Apr-06 17:27 
QuestionGet caption of menu item of MS.Word Pin
vtalau5-Apr-06 16:45
vtalau5-Apr-06 16:45 
AnswerRe: Get caption of menu item of MS.Word Pin
Nibu babu thomas5-Apr-06 19:02
Nibu babu thomas5-Apr-06 19:02 
GeneralRe: Get caption of menu item of MS.Word Pin
vtalau6-Apr-06 0:38
vtalau6-Apr-06 0:38 
GeneralRe: Get caption of menu item of MS.Word Pin
Nibu babu thomas6-Apr-06 0:41
Nibu babu thomas6-Apr-06 0:41 
GeneralRe: Get caption of menu item of MS.Word Pin
vtalau6-Apr-06 0:46
vtalau6-Apr-06 0:46 
Question#pragma once Pin
hint_545-Apr-06 15:48
hint_545-Apr-06 15:48 
I'm confused. If you have a header named "myheader.h" defined has:
/*-----------------
  myheader.h
-----------------*/
#ifndef MyHeaderH
#define MyHeaderH
//-------------------------------
// Everything else goes here
//-------------------------------
#endif // MyHeader


Then what's the use of the "#pragma once" directive if both are used to include a file only once? Or am I wrong and they have different purposes?

I've seen the "#pragma once" definition here

Thanks in advance

hint_54
AnswerRe: #pragma once Pin
Nibu babu thomas5-Apr-06 18:59
Nibu babu thomas5-Apr-06 18:59 
GeneralRe: #pragma once Pin
hint_546-Apr-06 6:11
hint_546-Apr-06 6:11 
GeneralRe: #pragma once Pin
Nibu babu thomas6-Apr-06 18:00
Nibu babu thomas6-Apr-06 18:00 
AnswerRe: #pragma once Pin
Dan McCormick6-Apr-06 8:37
Dan McCormick6-Apr-06 8:37 
Questionvc++6.0 call Web Service(written by Vc++.net--> ATL)???? Pin
lxshanye5-Apr-06 15:32
lxshanye5-Apr-06 15:32 
AnswerRe: vc++6.0 call Web Service(written by Vc++.net--> ATL)???? Pin
Anthony_Yio5-Apr-06 19:41
Anthony_Yio5-Apr-06 19:41 
GeneralRe: vc++6.0 call Web Service(written by Vc++.net--> ATL)???? Pin
lxshanye5-Apr-06 19:50
lxshanye5-Apr-06 19:50 
GeneralRe: vc++6.0 call Web Service(written by Vc++.net--> ATL)???? Pin
Anthony_Yio5-Apr-06 20:14
Anthony_Yio5-Apr-06 20:14 
Questionsystem process Pin
gamitech5-Apr-06 13:08
gamitech5-Apr-06 13:08 
AnswerRe: system process Pin
Hamid_RT5-Apr-06 19:11
Hamid_RT5-Apr-06 19:11 
QuestionDialogBox - OnIntiDialog Question Pin
JBAK_CP5-Apr-06 12:54
JBAK_CP5-Apr-06 12:54 
AnswerRe: DialogBox - OnIntiDialog Question Pin
Blake Miller5-Apr-06 13:03
Blake Miller5-Apr-06 13:03 
GeneralRe: DialogBox - OnIntiDialog Question Pin
JBAK_CP5-Apr-06 13:28
JBAK_CP5-Apr-06 13:28 
QuestionHow can I kill a Process?? Pin
pavanbabut5-Apr-06 11:43
pavanbabut5-Apr-06 11:43 
AnswerRe: How can I kill a Process?? Pin
gamitech5-Apr-06 13:00
gamitech5-Apr-06 13:00 
GeneralRe: How can I kill a Process?? Pin
pavanbabut5-Apr-06 13:34
pavanbabut5-Apr-06 13:34 
AnswerRe: How can I kill a Process?? Pin
Stephen Hewitt5-Apr-06 14:00
Stephen Hewitt5-Apr-06 14:00 

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.