Click here to Skip to main content
15,792,539 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: To create drag and drop graphics builder Pin
Richard MacCutchan25-Sep-17 23:30
mveRichard MacCutchan25-Sep-17 23:30 
QuestionHelp with no default constructor message Pin
ForNow23-Sep-17 20:03
ForNow23-Sep-17 20:03 
AnswerRe: Help with no default constructor message Pin
Richard MacCutchan23-Sep-17 22:06
mveRichard MacCutchan23-Sep-17 22:06 
GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 4:52
ForNow24-Sep-17 4:52 
GeneralRe: Help with no default constructor message Pin
Richard MacCutchan24-Sep-17 5:00
mveRichard MacCutchan24-Sep-17 5:00 
GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 5:12
ForNow24-Sep-17 5:12 
GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 7:02
ForNow24-Sep-17 7:02 
AnswerRe: Help with no default constructor message Pin
Richard Andrew x6424-Sep-17 6:40
professionalRichard Andrew x6424-Sep-17 6:40 
ForNow wrote:
CProgedit::CProgedit(int numlines, CProgedit* editptr) : KeyStroke(int numlines, CProgedit* editptr)

This is a problem. While you're declaring the CProgedit constructor on the left-hand side, the part on the right-hand side is actually a call, so you wouldn't put the data types of the aguments. In other words, try the following:
C++
CProgedit::CProgedit(int numlines, CProgedit* editptr) : KeyStroke(numlines, editptr)

Let me know if this helps.



The difficult we do right away...
...the impossible takes slightly longer.

GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 6:57
ForNow24-Sep-17 6:57 
GeneralRe: Help with no default constructor message Pin
Richard Andrew x6424-Sep-17 7:10
professionalRichard Andrew x6424-Sep-17 7:10 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 10:28
ForNow24-Sep-17 10:28 
AnswerRe: Help with no default constructor message .. related question Pin
Richard Andrew x6424-Sep-17 11:14
professionalRichard Andrew x6424-Sep-17 11:14 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 11:52
ForNow24-Sep-17 11:52 
AnswerRe: Help with no default constructor message .. related question Pin
Richard Andrew x6424-Sep-17 12:07
professionalRichard Andrew x6424-Sep-17 12:07 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 12:19
ForNow24-Sep-17 12:19 
AnswerRe: Help with no default constructor message .. related question Pin
Richard Andrew x6424-Sep-17 12:39
professionalRichard Andrew x6424-Sep-17 12:39 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 13:52
ForNow24-Sep-17 13:52 
GeneralRe: Help with no default constructor message .. related question found answer Pin
ForNow25-Sep-17 9:35
ForNow25-Sep-17 9:35 
AnswerRe: Help with no default constructor message Pin
Jochen Arndt25-Sep-17 22:30
professionalJochen Arndt25-Sep-17 22:30 
GeneralRe: Help with no default constructor message Pin
ForNow26-Sep-17 3:18
ForNow26-Sep-17 3:18 
QuestionProblem in loading c run time library in Visual C++ Pin
Member 1192324422-Sep-17 4:28
Member 1192324422-Sep-17 4:28 
AnswerRe: Problem in loading c run time library in Visual C++ Pin
Jochen Arndt22-Sep-17 4:45
professionalJochen Arndt22-Sep-17 4:45 
GeneralRe: Problem in loading c run time library in Visual C++ Pin
Member 1192324422-Sep-17 5:02
Member 1192324422-Sep-17 5:02 
GeneralRe: Problem in loading c run time library in Visual C++ Pin
enhzflep22-Sep-17 8:42
enhzflep22-Sep-17 8:42 
QuestionSyntax error Pin
Vaclav_21-Sep-17 16:28
Vaclav_21-Sep-17 16:28 

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.