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

C / C++ / MFC

 
GeneralRe: Reading from File question... Pin
Zac Howland25-Oct-06 12:53
Zac Howland25-Oct-06 12:53 
GeneralRe: Reading from File question... Pin
q_p25-Oct-06 12:16
q_p25-Oct-06 12:16 
GeneralRe: Reading from File question... Pin
Zac Howland25-Oct-06 12:55
Zac Howland25-Oct-06 12:55 
GeneralRe: Reading from File question... Pin
ThatsAlok25-Oct-06 20:57
ThatsAlok25-Oct-06 20:57 
GeneralRe: Reading from File question... Pin
Stephen Hewitt25-Oct-06 15:12
Stephen Hewitt25-Oct-06 15:12 
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 
ThatsAlok wrote:
his Lecturer might be Seeing this tooo


Which is why I left plenty for him to do. I just wrote the code to read the file (and even it is incomplete at the moment ... several things should be cleaned up a bit to actually meet professional standards). Typically, students will write code that will read all that data in and store it in several unrelated arrays (that they are relating in their head, but not in code) and do whatever the assignment asks by manipulating that data. This makes the code very unreadable and enforces a horrible habit that will only get worse if not corrected (which is the only reason I offered as much code as I did for this post). As a side note, when I was in college, I actually had a few professors who would count an assignment similar to this one as wrong if the code produced was not up to professional standards. Just some things to keep in mind.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

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 
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 

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.