looping in a phone dir
| osprey (2) | |||
| I need to write a program that requests a first and last name, lower case only. then compares the name to a file the contains multiple entries of: lastname, first address1 address2 lastname, first address1 address2 I have created a function to request the first and last name. I have opened a stream (in main) to read the phone dir for last name, first name. address1. address2. I do not know how to loop the requested name against the phone dir names.. sample code:
//How to construct a loop to compare the requested name with the phoneDir name? -Thank you | |||
| psault (88) | |||
| |||
This topic is archived - New replies not allowed.
