Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCluster Detection Pin
Akin Ocal31-Jul-07 0:43
Akin Ocal31-Jul-07 0:43 
QuestionVC++ compilation Pin
Suneet.0331-Jul-07 0:41
Suneet.0331-Jul-07 0:41 
AnswerRe: VC++ compilation Pin
codeII31-Jul-07 1:14
codeII31-Jul-07 1:14 
QuestionMenu IDs turn to number! VS6.0 & MFC Pin
Hamed Musavi31-Jul-07 0:04
Hamed Musavi31-Jul-07 0:04 
AnswerRe: Menu IDs turn to number! VS6.0 & MFC Pin
Nelek31-Jul-07 0:39
protectorNelek31-Jul-07 0:39 
QuestionRe: Menu IDs turn to number! VS6.0 & MFC Pin
David Crow31-Jul-07 2:31
David Crow31-Jul-07 2:31 
AnswerRe: Menu IDs turn to number! VS6.0 & MFC Pin
Hamed Musavi31-Jul-07 2:34
Hamed Musavi31-Jul-07 2:34 
QuestionSame here with VC.NET 2003 Pin
jhwurmbach31-Jul-07 3:13
jhwurmbach31-Jul-07 3:13 
Question?? Pin
Nelek31-Jul-07 3:43
protectorNelek31-Jul-07 3:43 
AnswerRe: ?? Pin
Hamed Musavi31-Jul-07 4:10
Hamed Musavi31-Jul-07 4:10 
GeneralRe: ?? Pin
Nelek2-Aug-07 20:12
protectorNelek2-Aug-07 20:12 
GeneralRe: ?? Pin
Hamed Musavi2-Aug-07 22:41
Hamed Musavi2-Aug-07 22:41 
Questionbug? [modified] Pin
garfaoui30-Jul-07 23:47
garfaoui30-Jul-07 23:47 
AnswerRe: bug? Pin
Nelek31-Jul-07 0:01
protectorNelek31-Jul-07 0:01 
GeneralRe: bug? Pin
garfaoui31-Jul-07 0:13
garfaoui31-Jul-07 0:13 
AnswerRe: bug? Pin
Christian Graus31-Jul-07 0:06
protectorChristian Graus31-Jul-07 0:06 
GeneralRe: bug? Pin
garfaoui31-Jul-07 0:16
garfaoui31-Jul-07 0:16 
AnswerRe: bug? Pin
Nishad S31-Jul-07 0:09
Nishad S31-Jul-07 0:09 
GeneralRe: bug? Pin
garfaoui31-Jul-07 0:17
garfaoui31-Jul-07 0:17 
GeneralRe: bug? Pin
Nishad S31-Jul-07 18:35
Nishad S31-Jul-07 18:35 
AnswerRe: bug? Pin
garfaoui31-Jul-07 0:31
garfaoui31-Jul-07 0:31 
AnswerRe: bug? Pin
Nelek31-Jul-07 0:44
protectorNelek31-Jul-07 0:44 
GeneralRe: bug? Pin
garfaoui31-Jul-07 0:47
garfaoui31-Jul-07 0:47 
QuestionRe: bug? Pin
Nelek31-Jul-07 0:52
protectorNelek31-Jul-07 0:52 
AnswerRe: bug? Pin
garfaoui31-Jul-07 0:59
garfaoui31-Jul-07 0:59 
I have tryed that:

c0..c3 and f01..f31 are declared as string (include < string >)<br />
<br />
getline(file1,c0);  //to skip the first line<br />
getline(file1,c1); <br />
getline(file1,c2);<br />
getline(file1,c3);<br />
<br />
getline(file2,f01);  //to skip the first line<br />
getline(file2,f11); <br />
getline(file2,f21);<br />
getline(file2,f31);<br />
<br />
if(f11==c1&&f21==c2&&f31==c3) <br />
                        {a1=1;}


But the thing is that i have to do that for 11 files. I think there is a problem with getline. I don´t know how to see the ´size´ of a line. Maybe the programme doesn´t considerer a line as a line in the text file.

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.