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

C / C++ / MFC

 
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 
AnswerRe: error... not compiling... Pin
Jun Du28-Aug-06 8:39
Jun Du28-Aug-06 8:39 
AnswerRe: error... not compiling... Pin
Zac Howland28-Aug-06 9:35
Zac Howland28-Aug-06 9:35 
GeneralRe: error... not compiling... Pin
Stephen Hewitt28-Aug-06 17:32
Stephen Hewitt28-Aug-06 17:32 
GeneralRe: error... not compiling... Pin
Zac Howland29-Aug-06 4:03
Zac Howland29-Aug-06 4:03 
QuestionPROCESS_INFORMATION [modified] Pin
Sam 200628-Aug-06 8:20
Sam 200628-Aug-06 8:20 
AnswerRe: PROCESS_INFORMATION Pin
valikac28-Aug-06 9:14
valikac28-Aug-06 9:14 
QuestionRe: PROCESS_INFORMATION Pin
David Crow28-Aug-06 10:37
David Crow28-Aug-06 10:37 
AnswerRe: PROCESS_INFORMATION Pin
Sam 200628-Aug-06 11:04
Sam 200628-Aug-06 11:04 
QuestionRe: PROCESS_INFORMATION Pin
David Crow29-Aug-06 2:40
David Crow29-Aug-06 2:40 
Questionedit control Pin
kumar_mk28-Aug-06 8:15
kumar_mk28-Aug-06 8:15 
AnswerRe: edit control Pin
led mike28-Aug-06 8:29
led mike28-Aug-06 8:29 
GeneralRe: edit control Pin
kumar_mk28-Aug-06 9:09
kumar_mk28-Aug-06 9:09 
GeneralRe: edit control Pin
led mike28-Aug-06 10:34
led mike28-Aug-06 10:34 
AnswerRe: edit control Pin
David Crow28-Aug-06 10:36
David Crow28-Aug-06 10:36 
QuestionDrawing on a CRichEditCtrl Pin
BlitzPackage28-Aug-06 6:03
BlitzPackage28-Aug-06 6:03 
QuestionRe: Drawing on a CRichEditCtrl Pin
David Crow28-Aug-06 6:10
David Crow28-Aug-06 6:10 

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.