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

C / C++ / MFC

 
AnswerRe: C2512 - No default constructor available [modified] Pin
Sarath C16-Jul-06 5:28
Sarath C16-Jul-06 5:28 
GeneralRe: C2512 - No default constructor available Pin
jon-8016-Jul-06 6:05
professionaljon-8016-Jul-06 6:05 
GeneralRe: C2512 - No default constructor available Pin
bob1697216-Jul-06 6:37
bob1697216-Jul-06 6:37 
GeneralRe: C2512 - No default constructor available Pin
jon-8016-Jul-06 6:46
professionaljon-8016-Jul-06 6:46 
GeneralRe: C2512 - No default constructor available Pin
bob1697216-Jul-06 6:49
bob1697216-Jul-06 6:49 
GeneralRe: C2512 - No default constructor available Pin
David Crow17-Jul-06 3:24
David Crow17-Jul-06 3:24 
AnswerRe: C2512 - No default constructor available Pin
Mike Dimmick16-Jul-06 6:44
Mike Dimmick16-Jul-06 6:44 
GeneralRe: C2512 - No default constructor available [modified] Pin
bob1697216-Jul-06 6:53
bob1697216-Jul-06 6:53 
Thats just passing the parameter to the base class which is correct, otherwise the base class will not get any parameters to initialize with. The class declaration shows CSentenceList is derived from CSentenceArray...

class CSentenceList :
// Sentences stored as a linked list
public CSentenceArray

-- modified at 12:57 Sunday 16th July, 2006

Oh crud, I just spotted what you were talking about. I missed that the first time around. You are right. That doesn't look quite right...

protected:
void CSentenceArray(bool bCreateArray);
virtual void storeSentence(const char *pszSentence);
virtual void swapWithNext();
virtual int HowManyWords(const char *pszWord);
};

-- modified at 13:01 Sunday 16th July, 2006
QuestionHow to convert this c++ code to javascript/html form? Pin
L33VaNcL33F16-Jul-06 3:21
L33VaNcL33F16-Jul-06 3:21 
AnswerRe: How to convert this c++ code to javascript/html form? Pin
Justin Tay16-Jul-06 3:33
Justin Tay16-Jul-06 3:33 
Questionerror C2259: : cannot instantiate abstract class Pin
RockyJames16-Jul-06 1:35
RockyJames16-Jul-06 1:35 
AnswerRe: error C2259: : cannot instantiate abstract class Pin
vecodo_doon16-Jul-06 3:26
vecodo_doon16-Jul-06 3:26 
AnswerRe: error C2259: : cannot instantiate abstract class Pin
Taka Muraoka16-Jul-06 3:28
Taka Muraoka16-Jul-06 3:28 
GeneralRe: error C2259: : cannot instantiate abstract class Pin
RockyJames16-Jul-06 3:42
RockyJames16-Jul-06 3:42 
GeneralRe: error C2259: : cannot instantiate abstract class Pin
Taka Muraoka16-Jul-06 4:02
Taka Muraoka16-Jul-06 4:02 
GeneralRe: error C2259: : cannot instantiate abstract class Pin
Mike Dimmick16-Jul-06 7:23
Mike Dimmick16-Jul-06 7:23 
Questionsteps for connection with server? Pin
With_problem16-Jul-06 1:15
With_problem16-Jul-06 1:15 
AnswerRe: steps for connection with server? Pin
Mike Dimmick16-Jul-06 6:48
Mike Dimmick16-Jul-06 6:48 
AnswerRe: steps for connection with server? Pin
ThatsAlok16-Jul-06 22:40
ThatsAlok16-Jul-06 22:40 
AnswerRe: steps for connection with server? Pin
David Crow17-Jul-06 3:27
David Crow17-Jul-06 3:27 
QuestionProblem with 2D Graph ActiveX Control [modified] Pin
Semion_N16-Jul-06 0:43
Semion_N16-Jul-06 0:43 
AnswerRe: Problem with 2D Graph ActiveX Control Pin
Semion_N16-Jul-06 4:12
Semion_N16-Jul-06 4:12 
AnswerRe: Problem with 2D Graph ActiveX Control Pin
Semion_N16-Jul-06 8:18
Semion_N16-Jul-06 8:18 
QuestionSaving a BITMAP on disc Pin
snir_ya15-Jul-06 23:49
snir_ya15-Jul-06 23:49 
AnswerRe: Saving a BITMAP on disc Pin
Hamid_RT16-Jul-06 0:28
Hamid_RT16-Jul-06 0: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.