Click here to Skip to main content
15,904,024 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncopy paste linux style in windows Pin
Noam Ben Haim30-Oct-05 4:50
Noam Ben Haim30-Oct-05 4:50 
AnswerRe: copy paste linux style in windows Pin
__yb31-Oct-05 21:40
__yb31-Oct-05 21:40 
Questionhelp! how to carry out this function? Pin
ewighell30-Oct-05 4:30
ewighell30-Oct-05 4:30 
AnswerRe: help! how to carry out this function? Pin
Christian Graus30-Oct-05 11:40
protectorChristian Graus30-Oct-05 11:40 
GeneralRe: help! how to carry out this function? Pin
ewighell30-Oct-05 14:35
ewighell30-Oct-05 14:35 
GeneralRe: help! how to carry out this function? Pin
Christian Graus30-Oct-05 14:38
protectorChristian Graus30-Oct-05 14:38 
GeneralRe: help! how to carry out this function? Pin
ewighell30-Oct-05 15:10
ewighell30-Oct-05 15:10 
GeneralRe: help! how to carry out this function? Pin
Christian Graus30-Oct-05 15:11
protectorChristian Graus30-Oct-05 15:11 
GeneralRe: help! how to carry out this function? Pin
ewighell30-Oct-05 15:18
ewighell30-Oct-05 15:18 
QuestionSpeed up compilation by ramdisk? Pin
Christof Schardt30-Oct-05 0:46
Christof Schardt30-Oct-05 0:46 
AnswerRe: Speed up compilation by ramdisk? Pin
Gary R. Wheeler31-Oct-05 3:26
Gary R. Wheeler31-Oct-05 3:26 
GeneralRe: Speed up compilation by ramdisk? Pin
Blake Miller31-Oct-05 4:01
Blake Miller31-Oct-05 4:01 
GeneralRe: Speed up compilation by ramdisk? Pin
Christof Schardt31-Oct-05 5:21
Christof Schardt31-Oct-05 5:21 
GeneralRe: Speed up compilation by ramdisk? Pin
Blake Miller31-Oct-05 5:54
Blake Miller31-Oct-05 5:54 
I do not know for certain.

It is my suspicion that the #pragma once will cause the file to be added to a table that it has already been processed, whereas the #ifndef does not necessarily preclude reparsing of the entire header, as one does not necessarily include or preclude the entire file within the confines of an #ifndef/#endif set.

The #pragma once, however, seems to imply, "hey, once you read this file for this compilation unit, don't bother reading it again". I favor adding the #pragma once if I now a header would never require reparsing within a single compilation unit. I prefer to create headers that do not depend upon such reparsing activity.
AnswerRe: Speed up compilation by ramdisk? Pin
David Crow31-Oct-05 3:30
David Crow31-Oct-05 3:30 
QuestionUsing Activex Controls Pin
hamidreza_buddy30-Oct-05 0:43
hamidreza_buddy30-Oct-05 0:43 
QuestionmciSendString Pin
Sasuko29-Oct-05 23:30
Sasuko29-Oct-05 23:30 
QuestionNeed help with ODBC databases interfacing with C++. Pin
silot29-Oct-05 23:24
silot29-Oct-05 23:24 
AnswerRe: Need help with ODBC databases interfacing with C++. Pin
Rustamyan30-Oct-05 17:10
Rustamyan30-Oct-05 17:10 
AnswerRe: Need help with ODBC databases interfacing with C++. Pin
David Crow31-Oct-05 3:34
David Crow31-Oct-05 3:34 
QuestionHelp me(Name of Window???) Pin
Member 185845029-Oct-05 21:18
Member 185845029-Oct-05 21:18 
AnswerRe: Help me(Name of Window???) Pin
Dominik Reichl30-Oct-05 2:47
Dominik Reichl30-Oct-05 2:47 
QuestionI need ur help Pin
arifusman29-Oct-05 19:18
arifusman29-Oct-05 19:18 
AnswerRe: I need ur help Pin
Arman S.30-Oct-05 10:03
Arman S.30-Oct-05 10:03 
QuestionHow to show a Icon and a string on the same pane of the status bar? Pin
Tcpip200529-Oct-05 19:54
Tcpip200529-Oct-05 19: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.