Click here to Skip to main content
16,015,047 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionrelated to mozilla firefox Pin
rajeevktripathi18-Mar-06 1:18
rajeevktripathi18-Mar-06 1:18 
QuestionWinAPI resources - using language packs Pin
Luy18-Mar-06 0:17
Luy18-Mar-06 0:17 
AnswerRe: WinAPI resources - using language packs Pin
Monty218-Mar-06 0:58
Monty218-Mar-06 0:58 
GeneralRe: WinAPI resources - using language packs Pin
Luy18-Mar-06 2:05
Luy18-Mar-06 2:05 
AnswerRe: WinAPI resources - using language packs Pin
Charlietoday18-Mar-06 4:27
Charlietoday18-Mar-06 4:27 
GeneralRe: WinAPI resources - using language packs Pin
Luy18-Mar-06 7:56
Luy18-Mar-06 7:56 
QuestionThree questions Pin
hanno2517-Mar-06 22:45
hanno2517-Mar-06 22:45 
AnswerRe: Three questions Pin
Waldermort17-Mar-06 23:11
Waldermort17-Mar-06 23:11 
1) there are many ways to do this, personaly I would read the file into a buffer line by line. Look at the basic_string or CString in MFC, these classes make it easy to compare to lines "strings" of text.

2) GOTO is an ugly statement. try:

while (!statement1 && !statement2) {
....
}
but beware that you could quite likely end up in an endless loop, you should have some sort of check in there and to exit the while loop use the break command
while (...) {
if (endless_loop)
break; // or return; will exit the function
}

3) maybe somebody else could better help you here. But here[^] is a project that might start you on the right track. You should also look on MSDN for mouse input functions here[^]
AnswerRe: Three questions Pin
Stephen Hewitt18-Mar-06 19:00
Stephen Hewitt18-Mar-06 19:00 
Questionsimple question Pin
big_denny_20017-Mar-06 20:42
big_denny_20017-Mar-06 20:42 
AnswerRe: simple question Pin
Aqueel17-Mar-06 20:52
Aqueel17-Mar-06 20:52 
AnswerRe: simple question Pin
Charlietoday17-Mar-06 21:43
Charlietoday17-Mar-06 21:43 
GeneralRe: simple question Pin
big_denny_20017-Mar-06 23:11
big_denny_20017-Mar-06 23:11 
GeneralRe: simple question Pin
Waldermort17-Mar-06 23:31
Waldermort17-Mar-06 23:31 
GeneralRe: simple question Pin
Charlietoday18-Mar-06 4:22
Charlietoday18-Mar-06 4:22 
AnswerRe: simple question Pin
Hamid_RT17-Mar-06 22:12
Hamid_RT17-Mar-06 22:12 
AnswerRe: simple question Pin
Saurabh.Garg18-Mar-06 2:41
Saurabh.Garg18-Mar-06 2:41 
Questionerror LNK2001: unresolved external symbol Pin
sottos17-Mar-06 20:13
sottos17-Mar-06 20:13 
AnswerRe: error LNK2001: unresolved external symbol Pin
Waldermort17-Mar-06 22:12
Waldermort17-Mar-06 22:12 
QuestionHow to check what is the current ODBC driver version Pin
nhuythanh17-Mar-06 18:31
nhuythanh17-Mar-06 18:31 
AnswerRe: How to check what is the current ODBC driver version Pin
Paul Conrad17-Mar-06 19:06
professionalPaul Conrad17-Mar-06 19:06 
QuestionFrame Rate Pin
J512198217-Mar-06 17:57
J512198217-Mar-06 17:57 
Questiontables within richedit controls Pin
Waldermort17-Mar-06 15:26
Waldermort17-Mar-06 15:26 
QuestionQuestions about defines, includes, etc... Pin
Lord Kixdemp17-Mar-06 15:10
Lord Kixdemp17-Mar-06 15:10 
AnswerRe: Questions about defines, includes, etc... Pin
Stephen Hewitt17-Mar-06 15:16
Stephen Hewitt17-Mar-06 15:16 

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.