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

C / C++ / MFC

 
QuestionHowI compress string into a compressed string? Pin
nk1231-Sep-05 22:38
nk1231-Sep-05 22:38 
AnswerRe: HowI compress string into a compressed string? Pin
HasanMalaysia2-Sep-05 0:23
HasanMalaysia2-Sep-05 0:23 
QuestionAutomating Power Point into my MFC Dialogue ? Pin
Amarelia1-Sep-05 22:34
Amarelia1-Sep-05 22:34 
AnswerRe: Automating Power Point into my MFC Dialogue ? Pin
Eytukan1-Sep-05 22:59
Eytukan1-Sep-05 22:59 
Question2 Class Circular Reference Pin
Fehma1-Sep-05 22:25
Fehma1-Sep-05 22:25 
AnswerRe: 2 Class Circular Reference Pin
Cedric Moonen1-Sep-05 22:30
Cedric Moonen1-Sep-05 22:30 
GeneralRe: 2 Class Circular Reference Pin
Fehma1-Sep-05 22:34
Fehma1-Sep-05 22:34 
GeneralRe: 2 Class Circular Reference Pin
Cedric Moonen1-Sep-05 22:50
Cedric Moonen1-Sep-05 22:50 
You mean everything is in one single file ?? All the functions and everything are in the header file ?
It is better to separate the implementations of the class functions in the .cpp file. If you put that in the header file, when you call something from B in the class A, the compiler only knows that the class exists, but it doesn't know what are the members of the class B. So, put all the definitions of the functions (from classA and class B) in a separate .cpp file. And this is much cleaner that having everything in the same file.
GeneralRe: 2 Class Circular Reference Pin
Fehma1-Sep-05 23:08
Fehma1-Sep-05 23:08 
GeneralRe: 2 Class Circular Reference Pin
Cedric Moonen1-Sep-05 23:20
Cedric Moonen1-Sep-05 23:20 
GeneralRe: 2 Class Circular Reference Pin
Fehma1-Sep-05 23:55
Fehma1-Sep-05 23:55 
GeneralRe: 2 Class Circular Reference Pin
Cedric Moonen1-Sep-05 23:59
Cedric Moonen1-Sep-05 23:59 
GeneralRe: 2 Class Circular Reference Pin
Fehma2-Sep-05 0:06
Fehma2-Sep-05 0:06 
GeneralRe: 2 Class Circular Reference Pin
Fehma2-Sep-05 2:09
Fehma2-Sep-05 2:09 
QuestionStatic Control Background Painting Pin
Joel Holdsworth1-Sep-05 22:15
Joel Holdsworth1-Sep-05 22:15 
AnswerRe: Static Control Background Painting Pin
Neagoe Gabriel2-Sep-05 0:04
Neagoe Gabriel2-Sep-05 0:04 
GeneralRe: Static Control Background Painting Pin
Joel Holdsworth2-Sep-05 1:15
Joel Holdsworth2-Sep-05 1:15 
QuestionDifference between Instance and Context Pin
badal_akr1-Sep-05 21:42
badal_akr1-Sep-05 21:42 
AnswerRe: Difference between Instance and Context Pin
toxcct1-Sep-05 21:50
toxcct1-Sep-05 21:50 
QuestionSetForeGroundWindow with XP Pin
dharani1-Sep-05 21:02
dharani1-Sep-05 21:02 
AnswerRe: SetForeGroundWindow with XP Pin
khan++1-Sep-05 21:09
khan++1-Sep-05 21:09 
AnswerRe: SetForeGroundWindow with XP Pin
ThatsAlok2-Sep-05 0:07
ThatsAlok2-Sep-05 0:07 
AnswerRe: SetForeGroundWindow with XP Pin
Marc Soleda2-Sep-05 1:44
Marc Soleda2-Sep-05 1:44 
AnswerRe: SetForeGroundWindow with XP Pin
Gary R. Wheeler3-Sep-05 3:53
Gary R. Wheeler3-Sep-05 3:53 
Questionwhat is the difference? Pin
Anonymous1-Sep-05 20:33
Anonymous1-Sep-05 20:33 

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.