Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: How to show a Icon and a string on the same pane of the status bar? Pin
Dmitriy Yakovlev31-Oct-05 7:48
Dmitriy Yakovlev31-Oct-05 7:48 
Questionsyntax error '<' Pin
gr8coaster32929-Oct-05 19:39
gr8coaster32929-Oct-05 19:39 
AnswerRe: syntax error '<' Pin
Ghasrfakhri29-Oct-05 19:22
Ghasrfakhri29-Oct-05 19:22 
QuestionRe: syntax error '<' Pin
gr8coaster32930-Oct-05 4:49
gr8coaster32930-Oct-05 4:49 
QuestionRe: syntax error '<' Pin
David Crow31-Oct-05 3:37
David Crow31-Oct-05 3:37 
QuestionRe: syntax error '<' Pin
gr8coaster32931-Oct-05 9:26
gr8coaster32931-Oct-05 9:26 

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.