LESmith
May 9th, 1999, 11:08 PM
I have established friendship between 2 classes. I am having trouble printing the friend data. I know the code is wrong because it prints in order of the array within the for loop but I don't know what else to try. HELP!
for (x=0; x<2; x++)
{
cout << endl;
somePatients[x].patientDisplay(someVets[x]);
}
for (x=0; x<2; x++)
{
cout << endl;
somePatients[x].patientDisplay(someVets[x]);
}