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

C / C++ / MFC

 
GeneralRe: Reading from File question... Pin
Zac Howland26-Oct-06 3:59
Zac Howland26-Oct-06 3:59 
GeneralRe: Reading from File question... Pin
ThatsAlok25-Oct-06 20:51
ThatsAlok25-Oct-06 20:51 
GeneralRe: Reading from File question... Pin
Zac Howland26-Oct-06 4:03
Zac Howland26-Oct-06 4:03 
QuestionRe: Reading from File question... Pin
David Crow26-Oct-06 4:34
David Crow26-Oct-06 4:34 
AnswerRe: Reading from File question... Pin
Zac Howland26-Oct-06 4:51
Zac Howland26-Oct-06 4:51 
GeneralRe: Reading from File question... Pin
David Crow26-Oct-06 5:02
David Crow26-Oct-06 5:02 
GeneralRe: Reading from File question... Pin
Zac Howland26-Oct-06 6:04
Zac Howland26-Oct-06 6:04 
QuestionRe: Reading from File question... Pin
David Crow29-May-07 10:12
David Crow29-May-07 10:12 
Zac,

I was going back over this code and was confused on a few things. In main(), the call to copy() is made once for the entire file. This, in turn, is supposed to call operator>> once for each line of the file. Is that correct? Using the debugger, I see operator>> getting called only for the first line of the file. I'm not seeing the students vector grow at all. What am I missing?

Thanks,
DC


"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: Reading from File question... Pin
Zac Howland30-May-07 7:07
Zac Howland30-May-07 7:07 
GeneralRe: Reading from File question... Pin
David Crow30-May-07 7:22
David Crow30-May-07 7:22 
GeneralRe: Reading from File question... Pin
Zac Howland30-May-07 9:13
Zac Howland30-May-07 9:13 
AnswerRe: Reading from File question... Pin
David Crow26-Oct-06 3:59
David Crow26-Oct-06 3:59 
QuestionTime consuming error Pin
Oliver12325-Oct-06 11:19
Oliver12325-Oct-06 11:19 
AnswerRe: Time consuming error Pin
led mike25-Oct-06 11:36
led mike25-Oct-06 11:36 
GeneralRe: Time consuming error Pin
Stephen Hewitt25-Oct-06 15:41
Stephen Hewitt25-Oct-06 15:41 
GeneralRe: Time consuming error Pin
led mike26-Oct-06 5:25
led mike26-Oct-06 5:25 
AnswerRe: Time consuming error Pin
Mark Salsbery25-Oct-06 12:00
Mark Salsbery25-Oct-06 12:00 
GeneralRe: Time consuming error Pin
led mike25-Oct-06 12:02
led mike25-Oct-06 12:02 
GeneralRe: Time consuming error Pin
Mark Salsbery25-Oct-06 12:25
Mark Salsbery25-Oct-06 12:25 
AnswerRe: Time consuming error Pin
Stephen Hewitt25-Oct-06 15:37
Stephen Hewitt25-Oct-06 15:37 
QuestionDialog Application-Adding Color to Display Data Pin
jerry1211a25-Oct-06 9:52
jerry1211a25-Oct-06 9:52 
AnswerRe: Dialog Application-Adding Color to Display Data Pin
Mark Salsbery25-Oct-06 10:40
Mark Salsbery25-Oct-06 10:40 
AnswerRe: Dialog Application-Adding Color to Display Data Pin
Hamid_RT25-Oct-06 19:29
Hamid_RT25-Oct-06 19:29 
GeneralRe: Dialog Application-Adding Color to Display Data Pin
jerry1211a26-Oct-06 2:36
jerry1211a26-Oct-06 2:36 
GeneralRe: Dialog Application-Adding Color to Display Data Pin
Hamid_RT26-Oct-06 2:52
Hamid_RT26-Oct-06 2:52 

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.