Click here to Skip to main content
16,006,341 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalnewbie needs help Pin
kjessee5-Nov-02 13:05
kjessee5-Nov-02 13:05 
GeneralRe: newbie needs help Pin
Chris Losinger5-Nov-02 13:08
professionalChris Losinger5-Nov-02 13:08 
GeneralRe: newbie needs help Pin
kjessee5-Nov-02 13:23
kjessee5-Nov-02 13:23 
GeneralRe: newbie needs help Pin
Chris Losinger5-Nov-02 13:22
professionalChris Losinger5-Nov-02 13:22 
GeneralRe: newbie needs help Pin
kjessee5-Nov-02 13:39
kjessee5-Nov-02 13:39 
GeneralRe: newbie needs help Pin
Chris Losinger5-Nov-02 13:38
professionalChris Losinger5-Nov-02 13:38 
GeneralRe: newbie needs help Pin
kjessee5-Nov-02 14:28
kjessee5-Nov-02 14:28 
GeneralReally Annoying Novice Question Pin
ursus zeta5-Nov-02 12:41
ursus zeta5-Nov-02 12:41 
This question concerns the various C++ and corresponding header files that you would normally combine into a single project workspace folder. I'm somewhat mystified (but, I'm new to C++ and Visual C++,...everything is mysterious) as to the reasoning behind creating numerous separate files (both C/C++ and the definition headers) for a given project, except maybe convenience. As a novice to C++ programming, I find it much more educational to review the actual code than to read descriptive textbook style explanations of the various objects and functions. Currently, I am reading through Petzold's Programming Windows, which is excellent for a beginner like myself, but, I am curious as to why so many separate code files are necessary in a small, simple project as are presented in Petzold's book.
My main assumption is that for code and object re-use, it is convenient to have files that can be just added with an #include directive. I am wondering if in some circumstances it is preferred to have a definition header or series of such files for some specific configuration (I can't imagine what). Do I sound confused? I'm not even sure how to phrase to question.
Also, is it critical as to what order these various files are added to the project file? I am unclear as to what operations that compiler actually performs on these files besides scanning the syntax and creating a hierarchy of elements and instructions.
Anyone that could please just recommend an article that I could refer to, or a subject listing in the MSDN library, I would appreciate it hugely. Thanks.
GeneralRe: Really Annoying Novice Question Pin
Chris Losinger5-Nov-02 13:11
professionalChris Losinger5-Nov-02 13:11 
GeneralRe: Really Annoying Novice Question Pin
ursus zeta5-Nov-02 13:20
ursus zeta5-Nov-02 13:20 
GeneralRe: Really Annoying Novice Question Pin
Paul M Watt5-Nov-02 13:40
mentorPaul M Watt5-Nov-02 13:40 
GeneralRe: Really Annoying Novice Question Pin
ursus zeta6-Nov-02 11:48
ursus zeta6-Nov-02 11:48 
Questionwho to get? Pin
imran_rafique5-Nov-02 12:11
imran_rafique5-Nov-02 12:11 
GeneralGetDlgCtrlID for ActiveX controls Pin
Aaron Schaefer5-Nov-02 11:20
Aaron Schaefer5-Nov-02 11:20 
GeneralFindResouce problem Pin
IGx895-Nov-02 11:03
IGx895-Nov-02 11:03 
GeneralRe: FindResouce problem Pin
dabs5-Nov-02 11:14
dabs5-Nov-02 11:14 
GeneralRe: FindResouce problem Pin
IGx895-Nov-02 12:27
IGx895-Nov-02 12:27 
GeneralDrawItem never called! Pin
Daniel Strigl5-Nov-02 10:46
Daniel Strigl5-Nov-02 10:46 
GeneralRe: DrawItem never called! Pin
dabs5-Nov-02 11:21
dabs5-Nov-02 11:21 
GeneralRe: DrawItem never called! Pin
Daniel Strigl5-Nov-02 20:36
Daniel Strigl5-Nov-02 20:36 
GeneralRe: DrawItem never called! Pin
Jonas Larsson6-Nov-02 1:17
Jonas Larsson6-Nov-02 1:17 
GeneralCommon Control and Microsoft Layer For Unicode Pin
kasturirawat5-Nov-02 10:11
kasturirawat5-Nov-02 10:11 
GeneralRe: Common Control and Microsoft Layer For Unicode Pin
Tim Smith5-Nov-02 10:53
Tim Smith5-Nov-02 10:53 
GeneralCFileDialog Pin
Anonymous5-Nov-02 9:45
Anonymous5-Nov-02 9:45 
GeneralRe: CFileDialog Pin
Ravi Bhavnani5-Nov-02 10:16
professionalRavi Bhavnani5-Nov-02 10:16 

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.