Its all appreciated

by Unseen (no login)

 

I could swear my code looks like the second one, did it copy properly?

// create 4 records per section (4 employees, one for each)
for (int RecCnt = 0; RecCnt
Is how i could swear i posted it, sorry if not.

I am using VC++08 (i have too as i am told to do so by teach) and all the diiferant compilers work slightly differantly. Hence why yours ask for stuff after cout's.

I sort of have it working, though for some reason, either i am not loading the data from the stream or the file is being made incorrectly as all the values are 0's. The file has numbers and letters in it though.

Thanks for all the help MC.

John

Posted on May 1, 2011, 6:04 AM

Respond to this message   

Return to Index

Response TitleAuthor and Date
Are you unchecking "Enable formatted text" when you post?Michael Calkins on May 1
 NopeUnseen on May 1
  Much better.Michael Calkins on May 1
   Thanks MC.Unseen on May 1
    You're welcome.Michael Calkins on May 2
     Well, this one outputs binaryUnseen on May 2
      Yes, it does.Michael Calkins on May 2
       Erm..Unseen on May 2
        This one seems to work :-)Michael Calkins on May 2
         You the man MC!Unseen Machine on May 2
          *ywMichael Calkins 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...Michael Calkins on May 2
             Thanks again MCUnseen on May 2
              arrays... (edited to fix post)Michael Calkins on May 3
               Multidimensional arrays and expandable arrays in C++ChronoKitsune on May 3
        fstream vs ifstream/ofstream (and other things about your code)ChronoKitsune on May 2
         Re: fstream vs ifstream/ofstream (and other things about your code)Michael Calkins on May 2
          (FIXED) Well, I'm not sure how well defined the behaviour is, but...ChronoKitsune on May 3
           *Thank you.Michael Calkins on May 3
   *oops. "delete SalesRecs;" should be "delete [] SalesRecs;"Michael Calkins on May 2

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