Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: Saving a BITMAP on disc Pin
bob1697216-Jul-06 6:47
bob1697216-Jul-06 6:47 
AnswerRe: Saving a BITMAP on disc Pin
ThatsAlok16-Jul-06 22:39
ThatsAlok16-Jul-06 22:39 
AnswerRe: Saving a BITMAP on disc Pin
David Crow17-Jul-06 3:34
David Crow17-Jul-06 3:34 
QuestionThread help!!! Pin
User 34160315-Jul-06 23:33
User 34160315-Jul-06 23:33 
AnswerRe: Thread help!!! Pin
DrSerge15-Jul-06 23:48
DrSerge15-Jul-06 23:48 
GeneralRe: Thread help!!! Pin
User 34160316-Jul-06 0:17
User 34160316-Jul-06 0:17 
AnswerRe: Thread help!!! Pin
Justin Tay16-Jul-06 3:12
Justin Tay16-Jul-06 3:12 
GeneralRe: Thread help!!! Pin
User 34160316-Jul-06 4:25
User 34160316-Jul-06 4:25 
GeneralRe: Thread help!!! Pin
Justin Tay16-Jul-06 6:56
Justin Tay16-Jul-06 6:56 
QuestionDestroy ToolTip Ctrl Pin
sir_moreno15-Jul-06 23:07
sir_moreno15-Jul-06 23:07 
GeneralHelp for all Pin
hybride15-Jul-06 21:41
hybride15-Jul-06 21:41 
GeneralRe: Help for all Pin
ThatsAlok16-Jul-06 21:14
ThatsAlok16-Jul-06 21:14 
GeneralRe: Help for all Pin
Hamid_RT17-Jul-06 3:38
Hamid_RT17-Jul-06 3:38 
Questioncommand promp windows Pin
locoone15-Jul-06 21:34
locoone15-Jul-06 21:34 
AnswerRe: command promp windows Pin
led mike16-Jul-06 20:09
led mike16-Jul-06 20:09 
AnswerRe: command promp windows Pin
David Crow17-Jul-06 3:36
David Crow17-Jul-06 3:36 
QuestionError C2533 - constructors does not allow a return type ...doesn't make sense Pin
jon-8015-Jul-06 21:07
professionaljon-8015-Jul-06 21:07 
error C2533: 'CSentenceArray::__ctor' : constructors not allowed a return type
Confused | :confused:

Code:
SentenceAr.h
class CSentenceArray
// Sentences stored as an array
{ public:
CSentenceArray(bool bCreateArray);
virtual ~CSentenceArray(void);
void readFromFile (const char *pszFileName);
//void Display (ostream &Sentence);
void sortSentences(bool bAscending); // implements BubbleSort or quicksort
void Clear();
int FirstWord(const char *ptrWord);
virtual int HowManyWords(const char *pszWord);

protected:
//virtual void storeSentence(const char *pszSentence);
//virtual const char *getNextSentence();
//virtual const char *peekNextSentence();
//virtual void swapWithNext();
//virtual void Reset();
//virtual void eraseAll();
private:
char *m_pSentences;
int m_iCurrentPos;
};

SentenceAr.cpp
#include "StdAfx.h"
#include ".\sentenceAr.h"


CSentenceArray::CSentenceArray(bool bCreateArray)
{
int x = NULL;
}

virtual CSentenceArray::~CSentenceArray(void)
{

}

Jon
AnswerRe: Error C2533 - constructors does not allow a return type ...doesn't make sense Pin
eusto15-Jul-06 22:04
eusto15-Jul-06 22:04 
QuestionDocumentation Pin
MozhdehQeraati15-Jul-06 20:54
MozhdehQeraati15-Jul-06 20:54 

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.