Click here to Skip to main content
15,885,872 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMessage Closed Pin
15-Jun-21 10:35
Member 1496877115-Jun-21 10:35 
AnswerRe: Pass a function with parameter Pin
Greg Utas15-Jun-21 11:38
professionalGreg Utas15-Jun-21 11:38 
GeneralMessage Closed Pin
15-Jun-21 13:30
Member 1496877115-Jun-21 13:30 
GeneralRe: Pass a function with parameter Pin
Greg Utas15-Jun-21 13:39
professionalGreg Utas15-Jun-21 13:39 
GeneralMessage Closed Pin
15-Jun-21 15:23
Member 1496877115-Jun-21 15:23 
GeneralRe: Pass a function with parameter Pin
Greg Utas16-Jun-21 0:22
professionalGreg Utas16-Jun-21 0:22 
QuestionRegarding Constructor Calling in C++ Pin
Member 1522917415-Jun-21 3:08
Member 1522917415-Jun-21 3:08 
AnswerRe: Regarding Constructor Calling in C++ Pin
David Crow15-Jun-21 3:29
David Crow15-Jun-21 3:29 
Member 15229174 wrote:
...so that the main will get called/?
main() is called by the OS/framework, not you.

If, instead, you wanted to know how to call the base class constructor, how about something like:
class C : public B
{
  public:
    C(int x, int y) : B(x, y)
    { 
    }

    // B obj;
};

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


GeneralRe: Regarding Constructor Calling in C++ Pin
Member 1522917415-Jun-21 3:55
Member 1522917415-Jun-21 3:55 
GeneralRe: Regarding Constructor Calling in C++ Pin
Richard MacCutchan15-Jun-21 5:02
mveRichard MacCutchan15-Jun-21 5:02 
AnswerRe: Regarding Constructor Calling in C++ Pin
Maximilien15-Jun-21 5:01
Maximilien15-Jun-21 5:01 
AnswerRe: Regarding Constructor Calling in C++ Pin
CPallini15-Jun-21 23:39
mveCPallini15-Jun-21 23:39 
QuestionAdvice on writing a GUI application that can run on very old Windows operating systems without Service Packs and Frameworks Pin
arnold_w14-Jun-21 8:32
arnold_w14-Jun-21 8:32 
AnswerRe: Advice on writing a GUI application that can run on very old Windows operating systems without Service Packs and Frameworks Pin
Victor Nijegorodov14-Jun-21 8:43
Victor Nijegorodov14-Jun-21 8:43 
AnswerRe: Advice on writing a GUI application that can run on very old Windows operating systems without Service Packs and Frameworks Pin
Mircea Neacsu14-Jun-21 8:45
Mircea Neacsu14-Jun-21 8:45 
AnswerRe: Advice on writing a GUI application that can run on very old Windows operating systems without Service Packs and Frameworks Pin
Richard MacCutchan14-Jun-21 8:51
mveRichard MacCutchan14-Jun-21 8:51 
AnswerRe: Advice on writing a GUI application that can run on very old Windows operating systems without Service Packs and Frameworks Pin
Eddy Vluggen14-Jun-21 9:18
professionalEddy Vluggen14-Jun-21 9:18 
AnswerRe: Advice on writing a GUI application that can run on very old Windows operating systems without Service Packs and Frameworks Pin
Maximilien15-Jun-21 5:22
Maximilien15-Jun-21 5:22 
QuestionWindows 10 - find last logon time in C++ ?? Pin
Derell Licht5-Jun-21 16:28
professionalDerell Licht5-Jun-21 16:28 
QuestionRe: Windows 10 - find last logon time in C++ ?? Pin
David Crow5-Jun-21 16:53
David Crow5-Jun-21 16:53 
AnswerRe: Windows 10 - find last logon time in C++ ?? Pin
Derell Licht5-Jun-21 17:06
professionalDerell Licht5-Jun-21 17:06 
AnswerRe: Windows 10 - find last logon time in C++ ?? Pin
Derell Licht5-Jun-21 17:11
professionalDerell Licht5-Jun-21 17:11 
AnswerRe: Windows 10 - find last logon time in C++ ?? Pin
Randor 6-Jun-21 5:21
professional Randor 6-Jun-21 5:21 
GeneralRe: Windows 10 - find last logon time in C++ ?? Pin
Derell Licht6-Jun-21 6:27
professionalDerell Licht6-Jun-21 6:27 
GeneralRe: Windows 10 - find last logon time in C++ ?? Pin
Randor 6-Jun-21 7:26
professional Randor 6-Jun-21 7:26 

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.