Click here to Skip to main content
15,887,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Source code for a notepad like application Pin
ThatsAlok12-Jan-06 17:56
ThatsAlok12-Jan-06 17:56 
Questionbuilding a packet filtering-editing driver Pin
ozba12-Jan-06 7:23
ozba12-Jan-06 7:23 
AnswerRe: building a packet filtering-editing driver Pin
Alexander M.,13-Jan-06 6:16
Alexander M.,13-Jan-06 6:16 
QuestionProtection Error Debugger Detected Pin
mav@octaval12-Jan-06 7:16
mav@octaval12-Jan-06 7:16 
AnswerRe: Protection Error Debugger Detected Pin
Blake Miller12-Jan-06 9:01
Blake Miller12-Jan-06 9:01 
AnswerRe: Protection Error Debugger Detected Pin
Dave Midgley25-Feb-11 23:42
Dave Midgley25-Feb-11 23:42 
QuestionFunction implementation in header file creates linker warnings Pin
Harrier12-Jan-06 6:11
Harrier12-Jan-06 6:11 
AnswerRe: Function implementation in header file creates linker warnings Pin
Blake Miller12-Jan-06 6:33
Blake Miller12-Jan-06 6:33 
#pragma once only causes the header to be included a single time per compilation unit. Each source file is a separate compilation unit. A static library is a collection of one or more compilation units.

Each static library contains Foo::GetBar because each one included the header file to get the definition of Foo.

If you did not think GetBar would ever be overloaded by a dervied class, I would just tag that sucker as inline and get it over with.


Marriage slows down your coding, a baby slows it down even more!
GeneralOT Pin
toxcct12-Jan-06 6:56
toxcct12-Jan-06 6:56 
GeneralRe: OT Pin
Owner drawn12-Jan-06 17:02
Owner drawn12-Jan-06 17:02 
GeneralRe: Function implementation in header file creates linker warnings Pin
Garth J Lancaster12-Jan-06 11:24
professionalGarth J Lancaster12-Jan-06 11:24 
GeneralRe: Function implementation in header file creates linker warnings Pin
Prakash Nadar12-Jan-06 17:39
Prakash Nadar12-Jan-06 17:39 
GeneralRe: Function implementation in header file creates linker warnings Pin
Garth J Lancaster12-Jan-06 17:43
professionalGarth J Lancaster12-Jan-06 17:43 
AnswerRe: Function implementation in header file creates linker warnings Pin
Alexander M.,13-Jan-06 6:20
Alexander M.,13-Jan-06 6:20 
QuestionUTC and local time management Pin
jjmv12-Jan-06 6:00
jjmv12-Jan-06 6:00 
AnswerRe: UTC and local time management Pin
Phil C12-Jan-06 13:06
Phil C12-Jan-06 13:06 
GeneralRe: UTC and local time management Pin
jjmv13-Jan-06 7:12
jjmv13-Jan-06 7:12 
GeneralRe: UTC and local time management Pin
Phil C13-Jan-06 12:28
Phil C13-Jan-06 12:28 
GeneralRe: UTC and local time management Pin
jjmv18-Jan-06 3:53
jjmv18-Jan-06 3:53 
AnswerRe: UTC and local time management Pin
ThatsAlok12-Jan-06 17:50
ThatsAlok12-Jan-06 17:50 
Questionkeyboard buffer Pin
Eytukan12-Jan-06 5:06
Eytukan12-Jan-06 5:06 
AnswerRe: keyboard buffer Pin
Owner drawn12-Jan-06 17:00
Owner drawn12-Jan-06 17:00 
GeneralRe: keyboard buffer Pin
Stephen Hewitt12-Jan-06 20:27
Stephen Hewitt12-Jan-06 20:27 
GeneralRe: keyboard buffer Pin
Owner drawn12-Jan-06 20:28
Owner drawn12-Jan-06 20:28 
GeneralRe: keyboard buffer Pin
Eytukan12-Jan-06 21:50
Eytukan12-Jan-06 21:50 

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.