Click here to Skip to main content
15,920,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SHBrowseForFolder - start up dir Pin
YaronNir8-May-06 5:51
YaronNir8-May-06 5:51 
AnswerRe: SHBrowseForFolder - start up dir Pin
jhwurmbach8-May-06 4:42
jhwurmbach8-May-06 4:42 
GeneralRe: SHBrowseForFolder - start up dir Pin
YaronNir8-May-06 4:44
YaronNir8-May-06 4:44 
QuestionDLL-problem: memory leaks Pin
hoelrich8-May-06 4:22
hoelrich8-May-06 4:22 
AnswerRe: DLL-problem: memory leaks Pin
Laxman Auti8-May-06 4:33
Laxman Auti8-May-06 4:33 
GeneralRe: DLL-problem: memory leaks Pin
hoelrich8-May-06 6:19
hoelrich8-May-06 6:19 
QuestionUsing unmanaged MFC classes from C# Pin
Kurt _B8-May-06 4:03
Kurt _B8-May-06 4:03 
AnswerRe: Using unmanaged MFC classes from C# Pin
Chris Losinger8-May-06 4:08
professionalChris Losinger8-May-06 4:08 
GeneralRe: Using unmanaged MFC classes from C# Pin
Kurt _B8-May-06 4:14
Kurt _B8-May-06 4:14 
QuestionInfo about Installing Delegate Pin
Girish6018-May-06 3:42
Girish6018-May-06 3:42 
QuestionC++ chat program, How to start? Pin
moloza8-May-06 3:27
moloza8-May-06 3:27 
AnswerRe: C++ chat program, How to start? Pin
David Crow8-May-06 3:35
David Crow8-May-06 3:35 
GeneralRe: C++ chat program, How to start? Pin
Eytukan8-May-06 3:42
Eytukan8-May-06 3:42 
GeneralRe: C++ chat program, How to start? Pin
led mike8-May-06 6:28
led mike8-May-06 6:28 
Questionconnecting two same-model webcams in win XP Pin
V_shr8-May-06 3:22
V_shr8-May-06 3:22 
AnswerRe: connecting two same-model webcams in win XP Pin
kakan8-May-06 3:34
professionalkakan8-May-06 3:34 
GeneralRe: connecting two same-model webcams in win XP Pin
V_shr8-May-06 3:58
V_shr8-May-06 3:58 
GeneralPlease help me Pin
V_shr8-May-06 4:18
V_shr8-May-06 4:18 
QuestionC Structure and Function Pin
Try8-May-06 3:12
Try8-May-06 3:12 
AnswerRe: C Structure and Function Pin
Chris Losinger8-May-06 3:19
professionalChris Losinger8-May-06 3:19 
AnswerRe: C Structure and Function Pin
jhwurmbach8-May-06 3:23
jhwurmbach8-May-06 3:23 
C++-classes are really just structs with their members being private by default.
C-functions are not nested within structs.
But a C-struct can easily hold a function pointer - to a fuction defined and declared elsewhere.

In fact, this is very similar to what the C++-compiler does behind your back: Convert all functions of a class to global ones taking a first 'this' parameter defining all that distinguishes the instance from others of the same class.



"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."

-- Caius Petronius, Roman Consul, 66 A.D.

QuestionRetrieving "My documents" folder Pin
YaronNir8-May-06 3:06
YaronNir8-May-06 3:06 
AnswerRe: Retrieving "My documents" folder Pin
Monty28-May-06 3:17
Monty28-May-06 3:17 
GeneralRe: Retrieving "My documents" folder Pin
YaronNir8-May-06 3:26
YaronNir8-May-06 3:26 
AnswerRe: Retrieving "My documents" folder Pin
jhwurmbach8-May-06 3:17
jhwurmbach8-May-06 3:17 

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.