Click here to Skip to main content
15,903,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 8:36
Immunity1824-May-07 8:36 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow24-May-07 8:42
David Crow24-May-07 8:42 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 8:58
Immunity1824-May-07 8:58 
QuestionRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow24-May-07 10:08
David Crow24-May-07 10:08 
AnswerRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 13:12
Immunity1824-May-07 13:12 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow25-May-07 2:40
David Crow25-May-07 2:40 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1825-May-07 2:44
Immunity1825-May-07 2:44 
QuestionRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow25-May-07 2:56
David Crow25-May-07 2:56 
Immunity18 wrote:
althought the results are differect


And those results would be what? Are you stepping throuygh the Compare() method? I doubt it, or would would have quickly seen that the last time through the loop, index is 30, which results in 33 being sent to the GetAt() method. Since the line being examined is only 33 characters long, the valid indices are 0-32.

Again I ask, what are you trying to accomplish with the code following the call to Find()?

Immunity18 wrote:
http://195.251.111.53/~labdb219/upload/correctvalues.bmp[^]


Try using a JPG so that a 2.3MB image does not have to be used. What exactly is this supposed to be showing? "How" you are calling the Compare() method is not the problem. It's what you are doing within it that is.




"A good athlete is the result of a good and worthy opponent." - David Crow

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


AnswerRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1825-May-07 3:17
Immunity1825-May-07 3:17 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow25-May-07 3:23
David Crow25-May-07 3:23 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1825-May-07 3:30
Immunity1825-May-07 3:30 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 9:02
Immunity1824-May-07 9:02 
QuestionRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow24-May-07 9:51
David Crow24-May-07 9:51 
AnswerRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 9:53
Immunity1824-May-07 9:53 
QuestionRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow24-May-07 10:01
David Crow24-May-07 10:01 
AnswerRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 10:04
Immunity1824-May-07 10:04 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
David Crow24-May-07 10:10
David Crow24-May-07 10:10 
GeneralRe: Different results when , compare 2 strings and 1 str with 1 str from file Pin
Immunity1824-May-07 10:15
Immunity1824-May-07 10:15 
Questionreading from the Microphone Pin
hamidreza_buddy24-May-07 7:39
hamidreza_buddy24-May-07 7:39 
AnswerRe: reading from the Microphone Pin
Mark Salsbery24-May-07 8:00
Mark Salsbery24-May-07 8:00 
AnswerRe: reading from the Microphone Pin
normanS24-May-07 9:08
normanS24-May-07 9:08 
Questionrelation between CMainframe and the application class Pin
prithaa24-May-07 6:12
prithaa24-May-07 6:12 
AnswerRe: relation between CMainframe and the application class Pin
David Crow24-May-07 7:08
David Crow24-May-07 7:08 
AnswerRe: relation between CMainframe and the application class Pin
Mark Salsbery24-May-07 8:12
Mark Salsbery24-May-07 8:12 
AnswerRe: relation between CMainframe and the application class Pin
Nelek24-May-07 21:22
protectorNelek24-May-07 21:22 

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.