Click here to Skip to main content
15,896,348 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDelete operator Pin
tom groezer26-Jun-07 3:37
tom groezer26-Jun-07 3:37 
AnswerYou need a Garbage Collector! Pin
CPallini26-Jun-07 3:41
mveCPallini26-Jun-07 3:41 
Answer... or smart pointers Pin
Cedric Moonen26-Jun-07 3:47
Cedric Moonen26-Jun-07 3:47 
AnswerRe: Delete operator Pin
led mike26-Jun-07 5:23
led mike26-Jun-07 5:23 
GeneralRe: Delete operator Pin
tom groezer26-Jun-07 16:52
tom groezer26-Jun-07 16:52 
GeneralRe: Delete operator Pin
led mike27-Jun-07 4:45
led mike27-Jun-07 4:45 
QuestionPrivate functions Pin
tom groezer26-Jun-07 3:30
tom groezer26-Jun-07 3:30 
AnswerRe: Private functions Pin
Cedric Moonen26-Jun-07 3:38
Cedric Moonen26-Jun-07 3:38 
tom groezer wrote:
If a base class has private functions how does the derived class call it without use of friends.


That's why C++ has the 'protected' keyword: your inherited class will be able to access the function but other classes won't be able to call it.


tom groezer wrote:
Also is there a difference between a function and a method.


It is just a 'naming' convention: a function is considered to be a global function and a method is a member function of a class.


Cédric Moonen
Software developer

Charting control [v1.2]

AnswerRe: Private functions Pin
Roger Stoltz26-Jun-07 3:57
Roger Stoltz26-Jun-07 3:57 
QuestionInline functions Pin
tom groezer26-Jun-07 3:18
tom groezer26-Jun-07 3:18 
AnswerRe: Inline functions Pin
Rajkumar R26-Jun-07 3:27
Rajkumar R26-Jun-07 3:27 
Questionhelp to solve this bug Pin
James_Programmer26-Jun-07 3:04
James_Programmer26-Jun-07 3:04 
AnswerRe: help to solve this bug Pin
Cedric Moonen26-Jun-07 3:15
Cedric Moonen26-Jun-07 3:15 
AnswerRe: help to solve this bug Pin
Iain Clarke, Warrior Programmer26-Jun-07 3:23
Iain Clarke, Warrior Programmer26-Jun-07 3:23 
GeneralRe: help to solve this bug Pin
James_Programmer26-Jun-07 3:48
James_Programmer26-Jun-07 3:48 
GeneralRe: help to solve this bug Pin
James_Programmer26-Jun-07 3:56
James_Programmer26-Jun-07 3:56 
GeneralRe: help to solve this bug Pin
Iain Clarke, Warrior Programmer26-Jun-07 4:33
Iain Clarke, Warrior Programmer26-Jun-07 4:33 
GeneralRe: help to solve this bug Pin
James_Programmer26-Jun-07 5:00
James_Programmer26-Jun-07 5:00 
GeneralRe: help to solve this bug Pin
James_Programmer26-Jun-07 5:14
James_Programmer26-Jun-07 5:14 
GeneralRe: help to solve this bug Pin
Iain Clarke, Warrior Programmer26-Jun-07 5:47
Iain Clarke, Warrior Programmer26-Jun-07 5:47 
GeneralRe: help to solve this bug Pin
James_Programmer26-Jun-07 6:01
James_Programmer26-Jun-07 6:01 
GeneralRe: help to solve this bug Pin
Mark Salsbery26-Jun-07 7:47
Mark Salsbery26-Jun-07 7:47 
Questionbrowse ... Pin
tasumisra26-Jun-07 2:33
tasumisra26-Jun-07 2:33 
AnswerRe: browse ... Pin
ahmad_ali26-Jun-07 6:45
ahmad_ali26-Jun-07 6:45 
GeneralRe: browse ... Pin
tasumisra26-Jun-07 20:52
tasumisra26-Jun-07 20:52 

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.