Click here to Skip to main content
15,890,043 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to Messages from a new window Pin
ERKs2-Nov-03 6:01
ERKs2-Nov-03 6:01 
GeneralUsing Property Sheet within a PropertySheet Pin
Aamir Butt2-Nov-03 5:25
Aamir Butt2-Nov-03 5:25 
GeneralRe: Using Property Sheet within a PropertySheet Pin
Markyg2-Nov-03 15:13
Markyg2-Nov-03 15:13 
GeneralRe: Using Property Sheet within a PropertySheet Pin
Aamir Butt4-Nov-03 20:12
Aamir Butt4-Nov-03 20:12 
GeneralHello, embarrassing question about header files... Pin
Snyp2-Nov-03 4:18
Snyp2-Nov-03 4:18 
GeneralRe: Hello, embarrassing question about header files... Pin
Terry O'Nolley2-Nov-03 4:31
Terry O'Nolley2-Nov-03 4:31 
GeneralRe: Hello, embarrassing question about header files... Pin
Snyp2-Nov-03 4:45
Snyp2-Nov-03 4:45 
GeneralRe: Hello, embarrassing question about header files... Pin
Nick Parker2-Nov-03 5:11
protectorNick Parker2-Nov-03 5:11 
Snyp wrote:
this is the prototype defs. but How do you define the actual functions, in the header files or the source files.?

You could define the functions inline to the header file, however the majority of the time you will find the implementation in a coresponding .cpp file. So for the class Terry provided you might have the following:

#include "YourClass.h"

void YourClass::Method1()
{
  // do some stuff here
}
void YourClass::Method2()
{
  // do more stuff here
}


-Nick Parker
DeveloperNotes.com


GeneralRe: Hello, embarrassing question about header files... Pin
Snyp2-Nov-03 5:17
Snyp2-Nov-03 5:17 
QuestionProxy DLL - Redirecting by standard? Pin
Dominik Reichl2-Nov-03 1:29
Dominik Reichl2-Nov-03 1:29 
AnswerRe: Proxy DLL - Redirecting by standard? Pin
Alexander M.,2-Nov-03 7:20
Alexander M.,2-Nov-03 7:20 
GeneralRe: Proxy DLL - Redirecting by standard? Pin
Dominik Reichl2-Nov-03 7:28
Dominik Reichl2-Nov-03 7:28 
QuestionWMF's IWMReader memory leak? Pin
Philip Patrick1-Nov-03 23:26
professionalPhilip Patrick1-Nov-03 23:26 
AnswerRe: WMF's IWMReader memory leak? Pin
Michael Dunn2-Nov-03 7:43
sitebuilderMichael Dunn2-Nov-03 7:43 
GeneralRe: WMF's IWMReader memory leak? Pin
Philip Patrick2-Nov-03 11:15
professionalPhilip Patrick2-Nov-03 11:15 
GeneralRe: WMF's IWMReader memory leak? Pin
Michael Dunn2-Nov-03 13:29
sitebuilderMichael Dunn2-Nov-03 13:29 
GeneralRe: WMF's IWMReader memory leak? Pin
Philip Patrick2-Nov-03 21:19
professionalPhilip Patrick2-Nov-03 21:19 
GeneralCrecordset with join tables Pin
merav1-Nov-03 22:25
merav1-Nov-03 22:25 
GeneralRe: Crecordset with join tables Pin
Mike Danberg2-Nov-03 9:50
Mike Danberg2-Nov-03 9:50 
GeneralSimple Full Screen application Pin
ahmetaa1-Nov-03 17:46
ahmetaa1-Nov-03 17:46 
GeneralRe: Simple Full Screen application Pin
Antti Keskinen2-Nov-03 0:03
Antti Keskinen2-Nov-03 0:03 
QuestionCopyFileEx notification?? Pin
Paul Farry1-Nov-03 14:50
professionalPaul Farry1-Nov-03 14:50 
AnswerRe: CopyFileEx notification?? Pin
Blake Coverett1-Nov-03 15:36
Blake Coverett1-Nov-03 15:36 
QuestionC++ imagemap/clickable image? Pin
John Tipper1-Nov-03 12:55
John Tipper1-Nov-03 12:55 
AnswerRe: C++ imagemap/clickable image? Pin
Andrew Walker1-Nov-03 15:02
Andrew Walker1-Nov-03 15:02 

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.