Erm..

by Unseen (no login)

 

It's the way i was shown by my teacher (proabally his preferred way) and i have not looked at fstream yet.

I figure as there is not a great deal of code, a complete rewrite might be in order as i have learnt a lot over the last few days thanks mostly to you and a couple of tutorials i found. C++ for dummies has 6 pages on File i/o...not a very good referance.

I will report back when i get my new code up and running. I really appreciate all the help, if theres anything i can do for you (i doubt i can do anything you cant happy.gif )please let me know.

Thanks,

John

Posted on May 2, 2011, 7:30 AM

Respond to this message   

Return to Index

Response TitleAuthor and Date
This one seems to work :-) on May 2
 You the man MC!Unseen Machine on May 2
  *yw on May 2
 Here's my re-writeUnseen on May 2
  2nd Version -Unseen on May 2
   Nearly there...Unseen on May 2
    Re: Nearly there... on May 2
     Thanks again MCUnseen on May 2
      arrays... (edited to fix post) on May 3
       Multidimensional arrays and expandable arrays in C++ on May 3
fstream vs ifstream/ofstream (and other things about your code) on May 2
 Re: fstream vs ifstream/ofstream (and other things about your code) on May 2
  (FIXED) Well, I'm not sure how well defined the behaviour is, but... on May 3
   *Thank you. on May 3

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement