Click here to Skip to main content
15,886,963 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Display message from DLL Pin
Manjunath S16-Jul-06 19:11
Manjunath S16-Jul-06 19:11 
AnswerRe: Display message from DLL Pin
<color>Aljechin 16-Jul-06 19:43
<color>Aljechin 16-Jul-06 19:43 
QuestionRe: Display message from DLL Pin
David Crow17-Jul-06 3:17
David Crow17-Jul-06 3:17 
AnswerRe: Display message from DLL Pin
William.Wang16-Jul-06 22:49
William.Wang16-Jul-06 22:49 
GeneralRe: Display message from DLL Pin
Manjunath S17-Jul-06 0:15
Manjunath S17-Jul-06 0:15 
GeneralRe: Display message from DLL Pin
William.Wang17-Jul-06 15:46
William.Wang17-Jul-06 15:46 
QuestionRe: Display message from DLL Pin
David Crow17-Jul-06 3:19
David Crow17-Jul-06 3:19 
QuestionLNK2001 - unresolved external symbols Pin
jon-8016-Jul-06 7:14
professionaljon-8016-Jul-06 7:14 
Errors:

Sentence error LNK2001: unresolved external symbol "protected: virtual int __thiscall CSentenceList::HowManyWords(char const *)" (?HowManyWords@CSentenceList@@MAEHPBD@Z)

Sentence error LNK2001: unresolved external symbol "protected: virtual void __thiscall CSentenceList::swapWithNext(void)" (?swapWithNext@CSentenceList@@MAEXXZ)

Sentence error LNK2001: unresolved external symbol "protected: virtual void __thiscall CSentenceList::storeSentence(char const *)" (?storeSentence@CSentenceList@@MAEXPBD@Z)

Sentence error LNK2019: unresolved external symbol "public: __thiscall CSentenceArray::CSentenceArray(bool)" (??0CSentenceArray@@QAE@_N@Z) referenced in function "public: __thiscall CSentenceList::CSentenceList(bool)" (??0CSentenceList@@QAE@_N@Z)

Sentence error LNK2019: unresolved external symbol "public: virtual __thiscall CSentenceArray::~CSentenceArray(void)" (??1CSentenceArray@@UAE@XZ) referenced in function "public: virtual __thiscall CSentenceList::~CSentenceList(void)" (??1CSentenceList@@UAE@XZ)

SentenceAr.h
#pragma once
#include <ostream>

using namespace std;

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);
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"


void CSentenceArray::sortSentences(bool bAscending) // implements BubbleSort or quicksort
{ int x = NULL;

}
void CSentenceArray::Clear()
{}
int CSentenceArray::FirstWord(const char *ptrWord)
{ return 0;}
int CSentenceArray::HowManyWords(const char *pszWord)
{ return 0;}



Jon
AnswerRe: LNK2001 - unresolved external symbols Pin
Hamid_RT16-Jul-06 8:52
Hamid_RT16-Jul-06 8:52 
AnswerRe: LNK2001 - unresolved external symbols Pin
RChin16-Jul-06 11:03
RChin16-Jul-06 11:03 
AnswerRe: LNK2001 - unresolved external symbols Pin
David Crow17-Jul-06 3:21
David Crow17-Jul-06 3:21 
QuestionTo hide menu of SDI app (MFC 8) Pin
Maxwell Chen16-Jul-06 6:55
Maxwell Chen16-Jul-06 6:55 
Answer[Solution]: To hide menu of SDI app (MFC 8) Pin
Maxwell Chen16-Jul-06 17:53
Maxwell Chen16-Jul-06 17:53 
AnswerRe: To hide menu of SDI app (MFC 8) Pin
Parthi_Appu16-Jul-06 19:07
Parthi_Appu16-Jul-06 19:07 
QuestionC2512 - No default constructor available Pin
jon-8016-Jul-06 5:04
professionaljon-8016-Jul-06 5:04 
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 
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 

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.