Click here to Skip to main content
15,885,910 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: from the index pos in ch[],delete the the string of len Pin
David Crow8-Apr-10 3:43
David Crow8-Apr-10 3:43 
AnswerRe: from the index pos in ch[],delete the the string of len Pin
wbgxx8-Apr-10 4:00
wbgxx8-Apr-10 4:00 
Questioncannot convert from 'double' to 'class _variant_t * Pin
browneyes867-Apr-10 9:38
browneyes867-Apr-10 9:38 
AnswerRe: cannot convert from 'double' to 'class _variant_t * Pin
Iain Clarke, Warrior Programmer7-Apr-10 10:03
Iain Clarke, Warrior Programmer7-Apr-10 10:03 
AnswerRe: cannot convert from 'double' to 'class _variant_t * Pin
Eugen Podsypalnikov7-Apr-10 10:04
Eugen Podsypalnikov7-Apr-10 10:04 
Questionresolving a shortcut file name Pin
Alan Kurlansky7-Apr-10 9:30
Alan Kurlansky7-Apr-10 9:30 
AnswerRe: resolving a shortcut file name Pin
Nuri Ismail7-Apr-10 10:10
Nuri Ismail7-Apr-10 10:10 
QuestionIs forward declaration a hack for bad, lazy programmers? Pin
Vaclav_7-Apr-10 7:16
Vaclav_7-Apr-10 7:16 
I am not sure where to post this , so it is here.
I am a lazy programmer and have a hard time keeping track of #include(s) nesting in my messy program.
I started to use "forward declaration" to mask #include files dependencies.
It works most of the time.
But is it a good practice?
Would it be going too far if I just forward declare all my classes in stdafx.h? Is portability main issue here or what is the issue?
Thanks for reading.
Vaclav
AnswerRe: Is forward declaration a hack for bad, lazy programmers? Pin
Chris Losinger7-Apr-10 7:25
professionalChris Losinger7-Apr-10 7:25 
AnswerRe: Is forward declaration a hack for bad, lazy programmers? Pin
Moak7-Apr-10 7:48
Moak7-Apr-10 7:48 
GeneralRe: Is forward declaration a hack for bad, lazy programmers? Pin
William Winner7-Apr-10 11:41
William Winner7-Apr-10 11:41 
GeneralOfftopic Pin
Moak7-Apr-10 11:57
Moak7-Apr-10 11:57 
AnswerRe: Is forward declaration a hack for bad, lazy programmers? Pin
Nemanja Trifunovic7-Apr-10 7:59
Nemanja Trifunovic7-Apr-10 7:59 
AnswerRe: Is forward declaration a hack for bad, lazy programmers? Pin
Eugen Podsypalnikov7-Apr-10 9:24
Eugen Podsypalnikov7-Apr-10 9:24 
QuestionCString convert error in Embedded Visual C++ Pin
CHYGO7-Apr-10 4:20
CHYGO7-Apr-10 4:20 
AnswerRe: CString convert error in Embedded Visual C++ Pin
eusto7-Apr-10 4:42
eusto7-Apr-10 4:42 
GeneralRe: CString convert error in Embedded Visual C++ Pin
CHYGO7-Apr-10 5:18
CHYGO7-Apr-10 5:18 
JokeRe: CString convert error in Embedded Visual C++ Pin
Eugen Podsypalnikov7-Apr-10 5:38
Eugen Podsypalnikov7-Apr-10 5:38 
GeneralRe: CString convert error in Embedded Visual C++ Pin
CHYGO8-Apr-10 2:01
CHYGO8-Apr-10 2:01 
QuestionComboBox / Win32 [modified] Pin
Fareed Rizkalla7-Apr-10 2:27
Fareed Rizkalla7-Apr-10 2:27 
QuestionRe: ComboBox / Win32 Pin
CPallini7-Apr-10 2:31
mveCPallini7-Apr-10 2:31 
AnswerRe: ComboBox / Win32 Pin
Fareed Rizkalla7-Apr-10 2:38
Fareed Rizkalla7-Apr-10 2:38 
GeneralRe: ComboBox / Win32 Pin
CPallini7-Apr-10 2:50
mveCPallini7-Apr-10 2:50 
QuestionRe: ComboBox / Win32 Pin
Fareed Rizkalla7-Apr-10 3:15
Fareed Rizkalla7-Apr-10 3:15 
QuestionRe: ComboBox / Win32 Pin
CPallini7-Apr-10 3:18
mveCPallini7-Apr-10 3:18 

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.