Its all appreciatedby 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.
|Response Title||Author and Date|
|Are you unchecking "Enable formatted text" when you post?||on May 1|
|Nope||Unseen on May 1|
|Much better.||on May 1|
|Thanks MC.||Unseen on May 1|
|You're welcome.||on May 2|
|Well, this one outputs binary||Unseen on May 2|
|Yes, it does.||on May 2|
|Erm..||Unseen on May 2|
|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-write||Unseen on May 2|
|2nd Version -||Unseen on May 2|
|Nearly there...||Unseen on May 2|
|Re: Nearly there...||on May 2|
|Thanks again MC||Unseen 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|
|*oops. "delete SalesRecs;" should be "delete  SalesRecs;"||on May 2|