Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to compare an empty editbox Pin
samkook28-Aug-06 16:00
samkook28-Aug-06 16:00 
GeneralRe: how to compare an empty editbox Pin
Waldermort28-Aug-06 16:47
Waldermort28-Aug-06 16:47 
GeneralRe: how to compare an empty editbox Pin
samkook28-Aug-06 20:27
samkook28-Aug-06 20:27 
QuestionRe: how to compare an empty editbox Pin
David Crow29-Aug-06 2:47
David Crow29-Aug-06 2:47 
QuestionNonsense VC++ errors... Pin
Lord Kixdemp28-Aug-06 11:20
Lord Kixdemp28-Aug-06 11:20 
AnswerRe: Nonsense VC++ errors... Pin
led mike28-Aug-06 11:31
led mike28-Aug-06 11:31 
AnswerRe: Nonsense VC++ errors... Pin
khan++28-Aug-06 21:48
khan++28-Aug-06 21:48 
GeneralRe: Nonsense VC++ errors... Pin
Lord Kixdemp30-Aug-06 10:27
Lord Kixdemp30-Aug-06 10:27 
GeneralRe: Nonsense VC++ errors... Pin
khan++30-Aug-06 23:34
khan++30-Aug-06 23:34 
QuestionProperty Page Captions [modified] Pin
Scott P. Chapman28-Aug-06 11:08
Scott P. Chapman28-Aug-06 11:08 
AnswerRe: Property Page Captions Pin
David Crow29-Aug-06 2:44
David Crow29-Aug-06 2:44 
QuestionHow to change the font of a button's caption in MFC Pin
Eikthrynir28-Aug-06 9:49
Eikthrynir28-Aug-06 9:49 
QuestionRe: How to change the font of a button's caption in MFC Pin
David Crow28-Aug-06 10:24
David Crow28-Aug-06 10:24 
AnswerRe: How to change the font of a button's caption in MFC Pin
Eikthrynir28-Aug-06 10:46
Eikthrynir28-Aug-06 10:46 
AnswerRe: How to change the font of a button's caption in MFC Pin
led mike28-Aug-06 10:53
led mike28-Aug-06 10:53 
GeneralRe: How to change the font of a button's caption in MFC [modified] Pin
Eikthrynir28-Aug-06 11:06
Eikthrynir28-Aug-06 11:06 
QuestionRe: How to change the font of a button's caption in MFC Pin
Hamid_RT28-Aug-06 19:42
Hamid_RT28-Aug-06 19:42 
QuestionRandy More's onscreenkeyboard project...question? Pin
gidtitan28-Aug-06 9:07
gidtitan28-Aug-06 9:07 
AnswerRe: Randy More's onscreenkeyboard project...question? Pin
David Crow28-Aug-06 10:31
David Crow28-Aug-06 10:31 
GeneralRe: Randy More's onscreenkeyboard project...question? Pin
gidtitan30-Aug-06 2:57
gidtitan30-Aug-06 2:57 
AnswerRe: Randy More's onscreenkeyboard project...question? Pin
Hamid_RT29-Aug-06 7:58
Hamid_RT29-Aug-06 7:58 
QuestionHow I can get listview subitem text of a listview on another process? Pin
Marco225028-Aug-06 9:04
Marco225028-Aug-06 9:04 
AnswerRe: How I can get listview subitem text of a listview on another process? Pin
Cristian Amarie28-Aug-06 10:01
Cristian Amarie28-Aug-06 10:01 
Questionerror... not compiling... Pin
jon-8028-Aug-06 8:28
professionaljon-8028-Aug-06 8:28 
#pragma once
#include <vector>
#include <string>

#define MAX_LINES 100
#define MAX_FILENAME_LENGTH 100
#define MAX_SENTENCE_LENGTH 1000
#define MAX_WORD_LENGTH 25

using std::string;

class CSentenceList
{
public:
//Methods
CSentenceList(char strFileToRead[MAX_SENTENCE_LENGTH + 1], const bool bSorted = false);
virtual ~CSentenceList(void);
void sort();

unsigned int search(const string* strSearch);
string display(unsigned int iLineNumber = 1);

//Properties
unsigned int Size;
vector <string> Sentences; //ERROR

private:
//Methods
bool readFile(const char strFileToRead[MAX_SENTENCE_LENGTH + 1]);
};

Error:

c:\Documents and Settings\Jon\My Documents\Visual Studio Projects\IAD Practice and Assignment\C++ - Assignment\02 & 03 - Sentence\SentenceClass\SentenceList.h(25): error C2143: syntax error : missing ';' before '<'

I'm not sure what is causing this error because the syntax seems good...?


Jon
AnswerRe: error... not compiling... Pin
Chris Losinger28-Aug-06 8:38
professionalChris Losinger28-Aug-06 8:38 

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.