Click here to Skip to main content
15,888,279 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: OpenFileMapping Fails Pin
prasad_som25-Dec-06 19:03
prasad_som25-Dec-06 19:03 
GeneralRe: OpenFileMapping Fails Pin
Gupta Suraj25-Dec-06 21:29
Gupta Suraj25-Dec-06 21:29 
AnswerRe: OpenFileMapping Fails Pin
prasad_som25-Dec-06 21:33
prasad_som25-Dec-06 21:33 
Questionuser input in win32 application Pin
ooolz25-Dec-06 17:29
ooolz25-Dec-06 17:29 
QuestionRe: user input in win32 application Pin
prasad_som25-Dec-06 18:40
prasad_som25-Dec-06 18:40 
AnswerRe: user input in win32 application Pin
ooolz25-Dec-06 18:46
ooolz25-Dec-06 18:46 
QuestionRe: user input in win32 application Pin
prasad_som25-Dec-06 18:56
prasad_som25-Dec-06 18:56 
Questionlittle dictionary Pin
rockfanskid25-Dec-06 16:44
rockfanskid25-Dec-06 16:44 
I'm sorry about my mistake 2days ago... cause that is the first time I race on this site. At firts, thanks for replying to my topic.
And now, I introduce about what I've done...

#include
#include
class cspell{
char* mean;// word's meaning
char* warray[12];//warray which is an array include words
public:
void init();//initializing
void check(char*);// check spell
void set(char* m);//add a word to dictionary database
};
I have built this class. And I have met some errors while I setup 3 behaviours(init , check, set).
I want to initialize warray's member... but I can't.
And this...
void check(char* word){
for( int i = 0; i if (strcmp(warray[i], word)==0) {
cout << word;
cout << "Good word.\n";
}
};
And I want to build word's meaning... But I don't know the method...
Do you know about my idea?...
I want to compare a word and a member of warray. But an error appeared.
"Set" behaviour is so hard... Please help me to built this class and its behaviours... Thanks for reading and replying.
My mind is too bad... I have learn this language 2 months ago by myself.


Try to find how to die

AnswerRe: little dictionary Pin
Hamid_RT26-Dec-06 7:06
Hamid_RT26-Dec-06 7:06 
QuestionMFC v.s. valarray Pin
ytod25-Dec-06 15:37
ytod25-Dec-06 15:37 
AnswerRe: MFC v.s. valarray Pin
prasad_som25-Dec-06 18:38
prasad_som25-Dec-06 18:38 
QuestionTemplates Pin
Astricks25-Dec-06 6:24
Astricks25-Dec-06 6:24 
AnswerRe: Templates Pin
markkuk25-Dec-06 10:12
markkuk25-Dec-06 10:12 
AnswerRe: Templates Pin
peterchen25-Dec-06 10:25
peterchen25-Dec-06 10:25 
GeneralRe: Templates Pin
Astricks25-Dec-06 19:04
Astricks25-Dec-06 19:04 
GeneralRe: Thanks, But another question, Pin
Astricks26-Dec-06 2:27
Astricks26-Dec-06 2:27 
GeneralRe: Thanks, But another question, Pin
peterchen26-Dec-06 2:38
peterchen26-Dec-06 2:38 
GeneralRe: Thanks, But another question, Pin
Astricks26-Dec-06 2:46
Astricks26-Dec-06 2:46 
GeneralRe: Thanks, But another question, Pin
peterchen26-Dec-06 3:15
peterchen26-Dec-06 3:15 
GeneralRe: Thanks, But another question, Pin
Astricks26-Dec-06 5:27
Astricks26-Dec-06 5:27 
QuestionWeird C4244 warning message Pin
Cristian Amarie25-Dec-06 5:24
Cristian Amarie25-Dec-06 5:24 
AnswerRe: Weird C4244 warning message Pin
Mark Salsbery25-Dec-06 6:32
Mark Salsbery25-Dec-06 6:32 
GeneralRe: Weird C4244 warning message Pin
Cristian Amarie25-Dec-06 7:16
Cristian Amarie25-Dec-06 7:16 
GeneralRe: Weird C4244 warning message Pin
Mark Salsbery25-Dec-06 10:08
Mark Salsbery25-Dec-06 10:08 
GeneralRe: Weird C4244 warning message Pin
Cristian Amarie25-Dec-06 19:39
Cristian Amarie25-Dec-06 19:39 

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.