Click here to Skip to main content
15,908,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: bitmap to clipboard, OLE [modified] Pin
mla15429-Aug-06 8:36
mla15429-Aug-06 8:36 
QuestionHTML resource file Pin
Demian Panello25-Aug-06 11:21
Demian Panello25-Aug-06 11:21 
AnswerRe: HTML resource file Pin
Gary R. Wheeler25-Aug-06 15:49
Gary R. Wheeler25-Aug-06 15:49 
QuestionProblem with ClearType text in custom control Pin
WarnerYoung25-Aug-06 10:32
WarnerYoung25-Aug-06 10:32 
AnswerRe: Problem with ClearType text in custom control Pin
Waldermort25-Aug-06 13:15
Waldermort25-Aug-06 13:15 
AnswerRe: Problem with ClearType text in custom control Pin
Justin Tay25-Aug-06 14:11
Justin Tay25-Aug-06 14:11 
QuestionBasic concepts Pin
Oliver12325-Aug-06 9:32
Oliver12325-Aug-06 9:32 
AnswerRe: Basic concepts Pin
Zac Howland25-Aug-06 9:54
Zac Howland25-Aug-06 9:54 
Oliver123 wrote:
1. Each file is compiled separately and independently. This means each .ccp and .h file is compiled as a stand alone unit.


*.cpp files are compiled, not *.h files. CPP files are where the implementation for classes, functions, etc are placed. H files are where they are defined. This allows other modules (classes, libraries, etc) to see the definition of a function or class without having to know how everything is implemented during the compilation.

Oliver123 wrote:
2. If #1 is correct, then each file must contain all the class and function declarations to which any code in that file will refer.


You can't use a function/class/variable/etc unless you know how it is defined.

Oliver123 wrote:
3. The same header file with class declarations can be #included in several other files. In other words, trans.h can be included in both abc.ccp and xyz.cpp.


This is correct. Though usually you place #pragma once or #ifdef/#define statements around the header file content to prevent a file from being included multiple times.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

AnswerRe: Basic concepts Pin
Chris Losinger25-Aug-06 10:17
professionalChris Losinger25-Aug-06 10:17 
QuestionHowto draw a rotated ellipse with MFC Pin
AnTri25-Aug-06 7:35
AnTri25-Aug-06 7:35 
AnswerRe: Howto draw a rotated ellipse with MFC Pin
Zac Howland25-Aug-06 8:09
Zac Howland25-Aug-06 8:09 
QuestionC/C++ complete reference material Pin
9ine25-Aug-06 6:13
9ine25-Aug-06 6:13 
QuestionRe: C/C++ complete reference material Pin
David Crow25-Aug-06 6:15
David Crow25-Aug-06 6:15 
AnswerRe: C/C++ complete reference material Pin
9ine25-Aug-06 6:20
9ine25-Aug-06 6:20 
AnswerRe: C/C++ complete reference material Pin
Zac Howland25-Aug-06 6:34
Zac Howland25-Aug-06 6:34 
AnswerRe: C/C++ complete reference material Pin
Mike Dimmick25-Aug-06 6:43
Mike Dimmick25-Aug-06 6:43 
GeneralRe: C/C++ complete reference material Pin
Dave Calkins25-Aug-06 16:46
Dave Calkins25-Aug-06 16:46 
QuestionDifferences between embedded and regular VC++ [modified] Pin
JWood25-Aug-06 5:18
JWood25-Aug-06 5:18 
AnswerRe: Differences between embedded and regular VC++ Pin
Jun Du25-Aug-06 5:41
Jun Du25-Aug-06 5:41 
GeneralRe: Differences between embedded and regular VC++ [modified] Pin
JWood25-Aug-06 9:21
JWood25-Aug-06 9:21 
AnswerRe: Differences between embedded and regular VC++ Pin
Zac Howland25-Aug-06 6:36
Zac Howland25-Aug-06 6:36 
GeneralRe: Differences between embedded and regular VC++ Pin
JWood25-Aug-06 9:21
JWood25-Aug-06 9:21 
QuestionCryptEncrypt in UNICODE Pin
sreenest25-Aug-06 3:53
sreenest25-Aug-06 3:53 
AnswerRe: CryptEncrypt in UNICODE Pin
Chris Losinger25-Aug-06 4:32
professionalChris Losinger25-Aug-06 4:32 
Questionmemory leak while creating multiple class objects(same class)? Pin
jalsa G25-Aug-06 3:47
jalsa G25-Aug-06 3:47 

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.