Click here to Skip to main content
15,892,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionStop the looping...(urgent) Pin
makaveli_074-May-06 16:50
makaveli_074-May-06 16:50 
AnswerRe: Stop the looping...(urgent) Pin
Stephen Hewitt4-May-06 17:02
Stephen Hewitt4-May-06 17:02 
GeneralRe: Stop the looping...(urgent) Pin
makaveli_074-May-06 17:20
makaveli_074-May-06 17:20 
AnswerRe: Stop the looping...(urgent) Pin
Aqueel4-May-06 17:31
Aqueel4-May-06 17:31 
GeneralRe: Stop the looping...(urgent) Pin
makaveli_074-May-06 17:43
makaveli_074-May-06 17:43 
GeneralRe: Stop the looping...(urgent) Pin
Aqueel4-May-06 17:53
Aqueel4-May-06 17:53 
GeneralRe: Stop the looping...(urgent) Pin
makaveli_074-May-06 17:56
makaveli_074-May-06 17:56 
GeneralRe: Stop the looping...(urgent) Pin
Aqueel4-May-06 18:09
Aqueel4-May-06 18:09 
Oh man! check your logic. You get input from file in an array. Since you have got all the data from there, file pointer has reached to end of the file. Now when you go in loop, condition is true. So nothing will be printed in output file.
So if you want to get correct output of your code, let us know what exectly you want from your code to do in while loop.
Good luck.

We Believe in Excellence
www.aqueelmirza.cjb.net
GeneralRe: Stop the looping...(urgent) Pin
Aqueel4-May-06 18:12
Aqueel4-May-06 18:12 
GeneralRe: Stop the looping...(urgent) Pin
makaveli_074-May-06 18:42
makaveli_074-May-06 18:42 
GeneralRe: Stop the looping...(urgent) Pin
Stephen Hewitt4-May-06 18:13
Stephen Hewitt4-May-06 18:13 
GeneralRe: Stop the looping...(urgent) Pin
Aqueel4-May-06 18:16
Aqueel4-May-06 18:16 
GeneralRe: Stop the looping...(urgent) Pin
makaveli_074-May-06 18:44
makaveli_074-May-06 18:44 
GeneralRe: Stop the looping...(urgent) Pin
Aqueel4-May-06 18:50
Aqueel4-May-06 18:50 
GeneralRe: Stop the looping...(urgent) Pin
makaveli_074-May-06 19:02
makaveli_074-May-06 19:02 
GeneralRe: Stop the looping...(urgent) Pin
Cedric Moonen4-May-06 20:31
Cedric Moonen4-May-06 20:31 
GeneralRe: Stop the looping...(urgent) Pin
makaveli_074-May-06 18:48
makaveli_074-May-06 18:48 
GeneralRe: Stop the looping...(urgent) Pin
Stephen Hewitt4-May-06 18:55
Stephen Hewitt4-May-06 18:55 
GeneralRe: Stop the looping...(urgent) Pin
Cedric Moonen4-May-06 20:34
Cedric Moonen4-May-06 20:34 
QuestionMicrosoft is looking for potential C++ MVPs Pin
Chris Maunder4-May-06 15:36
cofounderChris Maunder4-May-06 15:36 
AnswerRe: Microsoft is looking for potential C++ MVPs Pin
led mike4-May-06 16:44
led mike4-May-06 16:44 
AnswerRe: Microsoft is looking for potential C++ MVPs Pin
Trollslayer4-May-06 21:50
mentorTrollslayer4-May-06 21:50 
GeneralRe: Microsoft is looking for potential C++ MVPs Pin
Maxwell Chen4-May-06 21:58
Maxwell Chen4-May-06 21:58 
GeneralRe: Microsoft is looking for potential C++ MVPs Pin
Chris Maunder5-May-06 1:23
cofounderChris Maunder5-May-06 1:23 
GeneralRe: Microsoft is looking for potential C++ MVPs Pin
Blake Miller5-May-06 6:55
Blake Miller5-May-06 6:55 

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.