December 13th, 2005 04:19 AM
Phone Book in C++
Im having trouble loading data to arrays in C++. I have to make a phone book where the first thing you do is click on a button called load and then load two files, one called names.txt the other called phonenumbers.txt, to two parallel arrays. here is what i got so far. I'm so lost, any help will do.
int index = 0;
name_database >> names;
phone_database >> phone_number;
names[index] = index+1;
ive declared my arrays globally, im programming in windows using borland