Click here to Skip to main content
15,947,694 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsend notification to srvice Pin
john563226-Sep-17 23:05
john563226-Sep-17 23:05 
AnswerRe: send notification to srvice Pin
CPallini26-Sep-17 23:25
mveCPallini26-Sep-17 23:25 
QuestionTo create drag and drop graphics builder Pin
manoharbalu25-Sep-17 21:05
manoharbalu25-Sep-17 21:05 
AnswerRe: To create drag and drop graphics builder Pin
Richard MacCutchan25-Sep-17 21:19
mveRichard MacCutchan25-Sep-17 21:19 
GeneralRe: To create drag and drop graphics builder Pin
manoharbalu25-Sep-17 22:26
manoharbalu25-Sep-17 22:26 
GeneralRe: To create drag and drop graphics builder Pin
Richard MacCutchan25-Sep-17 22:30
mveRichard MacCutchan25-Sep-17 22:30 
QuestionHelp with no default constructor message Pin
ForNow23-Sep-17 19:03
ForNow23-Sep-17 19:03 
AnswerRe: Help with no default constructor message Pin
Richard MacCutchan23-Sep-17 21:06
mveRichard MacCutchan23-Sep-17 21:06 
If you create a parameterised constructor for a class you must also provide a default parameterless one.
C++
class KeyStroke
{
    public KeyStroke(int numlines, CRichEditCtrl* myrichptr)
    {
        // the one you will mainly use
    }
    public KeyStroke()
    {
        // the compiler will not infer this because you have created the one above

        // if you do not provide any constructors then the compiler will automatically
        // create the parameterless one.
    }

GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 3:52
ForNow24-Sep-17 3:52 
GeneralRe: Help with no default constructor message Pin
Richard MacCutchan24-Sep-17 4:00
mveRichard MacCutchan24-Sep-17 4:00 
GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 4:12
ForNow24-Sep-17 4:12 
GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 6:02
ForNow24-Sep-17 6:02 
AnswerRe: Help with no default constructor message Pin
Richard Andrew x6424-Sep-17 5:40
professionalRichard Andrew x6424-Sep-17 5:40 
GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 5:57
ForNow24-Sep-17 5:57 
GeneralRe: Help with no default constructor message Pin
Richard Andrew x6424-Sep-17 6:10
professionalRichard Andrew x6424-Sep-17 6:10 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 9:28
ForNow24-Sep-17 9:28 
AnswerRe: Help with no default constructor message .. related question Pin
Richard Andrew x6424-Sep-17 10:14
professionalRichard Andrew x6424-Sep-17 10:14 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 10:52
ForNow24-Sep-17 10:52 
AnswerRe: Help with no default constructor message .. related question Pin
Richard Andrew x6424-Sep-17 11:07
professionalRichard Andrew x6424-Sep-17 11:07 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 11:19
ForNow24-Sep-17 11:19 
AnswerRe: Help with no default constructor message .. related question Pin
Richard Andrew x6424-Sep-17 11:39
professionalRichard Andrew x6424-Sep-17 11:39 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 12:52
ForNow24-Sep-17 12:52 
GeneralRe: Help with no default constructor message .. related question found answer Pin
ForNow25-Sep-17 8:35
ForNow25-Sep-17 8:35 
AnswerRe: Help with no default constructor message Pin
Jochen Arndt25-Sep-17 21:30
professionalJochen Arndt25-Sep-17 21:30 
GeneralRe: Help with no default constructor message Pin
ForNow26-Sep-17 2:18
ForNow26-Sep-17 2:18 

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.