Click here to Skip to main content
16,005,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Question about VC++ resource files Pin
Mark Salsbery13-Feb-07 10:11
Mark Salsbery13-Feb-07 10:11 
GeneralRe: Question about VC++ resource files Pin
KellyR13-Feb-07 10:44
KellyR13-Feb-07 10:44 
QuestionProblem with basic inheritance. Pin
Phoresis13-Feb-07 8:23
Phoresis13-Feb-07 8:23 
AnswerRe: Problem with basic inheritance. Pin
Cedric Moonen13-Feb-07 8:27
Cedric Moonen13-Feb-07 8:27 
GeneralRe: Problem with basic inheritance. Pin
Phoresis13-Feb-07 8:33
Phoresis13-Feb-07 8:33 
GeneralRe: Problem with basic inheritance. Pin
Cedric Moonen13-Feb-07 8:35
Cedric Moonen13-Feb-07 8:35 
AnswerRe: Problem with basic inheritance. Pin
Christian Graus13-Feb-07 8:30
protectorChristian Graus13-Feb-07 8:30 
AnswerRe: Problem with basic inheritance. Pin
toxcct13-Feb-07 10:38
toxcct13-Feb-07 10:38 
To complete Cedric and Christian answers, there's a Microsoft specific precompiler command that does the same thing, plus an additional check that permits a file not to be inserted (at least tried to be inserted) twice.

at the beginning of the header file you write, you can instead write this :
#pragma once

and that's all.

but don't forget it's microsoft specific, so if you plan to port your code to any other compiler, prefer using the other syntax


QuestionUsing 'this' in non-static "functionoids" [modified] Pin
quasinormalized13-Feb-07 7:55
quasinormalized13-Feb-07 7:55 
AnswerRe: Using 'this' in non-static "functionoids" Pin
Mark Salsbery13-Feb-07 8:20
Mark Salsbery13-Feb-07 8:20 
GeneralRe: Using 'this' in non-static "functionoids" Pin
quasinormalized13-Feb-07 9:36
quasinormalized13-Feb-07 9:36 
GeneralRe: Using 'this' in non-static "functionoids" Pin
Mark Salsbery13-Feb-07 10:06
Mark Salsbery13-Feb-07 10:06 
GeneralRe: Using 'this' in non-static "functionoids" Pin
quasinormalized13-Feb-07 10:29
quasinormalized13-Feb-07 10:29 
GeneralRe: Using 'this' in non-static "functionoids" Pin
Mark Salsbery13-Feb-07 10:38
Mark Salsbery13-Feb-07 10:38 
Questionconversion Pin
dalbhide bipin13-Feb-07 7:49
dalbhide bipin13-Feb-07 7:49 
AnswerRe: conversion Pin
Mark Salsbery13-Feb-07 7:55
Mark Salsbery13-Feb-07 7:55 
AnswerRe: conversion Pin
toxcct13-Feb-07 10:24
toxcct13-Feb-07 10:24 
QuestionHelp Pin
chipper334413-Feb-07 7:07
chipper334413-Feb-07 7:07 
AnswerRe: Help Pin
Cedric Moonen13-Feb-07 7:29
Cedric Moonen13-Feb-07 7:29 
QuestionVS 2005 Network Links Pin
Andy20213-Feb-07 6:27
Andy20213-Feb-07 6:27 
AnswerRe: VS 2005 Network Links Pin
Ravi Bhavnani13-Feb-07 6:31
professionalRavi Bhavnani13-Feb-07 6:31 
GeneralRe: VS 2005 Network Links Pin
Andy20213-Feb-07 9:25
Andy20213-Feb-07 9:25 
AnswerRe: VS 2005 Network Links Pin
Mark Salsbery13-Feb-07 10:12
Mark Salsbery13-Feb-07 10:12 
GeneralRe: VS 2005 Network Links Pin
Andy20213-Feb-07 22:52
Andy20213-Feb-07 22:52 
Questionsome strange error Pin
thesad13-Feb-07 6:20
thesad13-Feb-07 6:20 

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.