At 3/25/2009 07:33 AM, you wrote: >All, > >Thanks for the input. I'll see what we can do to get it working. > >The instructor is very specific about what can be used in the >program. My assumption is that he wants to use more basic >techniques in an attempt to bring the students along and will >introduce more advanced topics at a later date. > >As far as relaying it was homework - I've seen that a lot of those >typical homework posts myself and didn't want anyone to just do >it. Additionally, it's not my assignment but I must confess that >I've been rather intrigued with helping my friend. He does 99% of >the work but tends to get caught on some of the smaller things and >this has allowed me to get a little exposure to c++. > >Mark
I don't see the C++ connection to this code. Except for the C++ style includes and the getline() function, this is pretty much purely C code. The problems were not with getline(), but with the logic. ~Rick
