Old Feb 21, 2004 | 02:24 PM
  #23  
KidA's Avatar
KidA
Registered User
 
Joined: Jun 2003
Posts: 84
Likes: 0
From: Atlantic City, NJ
Default

This is probably way too late but try this, when you open your files:

a.open("groupA.txt", ios::app);
b.open("groupB.txt", ios::app);

This just sets the behavior to append to the end of the file rather than replace the contents.
Reply