View Single Post
Old May 5th, 2005, 11:52 PM   #23
xavier
Professional Programmer
 
xavier's Avatar
 
Join Date: Oct 2004
Location: .ro
Posts: 379
Rep Power: 4 xavier is on a distinguished road
Send a message via Yahoo to xavier
for(i=0;i<10;i++){
        name [i] = name1.readLine ();
        phone [i] = phone1.readLine ();
        email [i] = email1.readLine ();
        info [i] = info3.readLine ();
        info1 [i] = info4.readLine ();
        info2 [i] = info4.readLine ();
}
I gave u an example of a for loop for your program .... try using for loops more! The program will drasticaly reduce in size.
__________________
Don't take life too seriously, it's not permanent !
xavier is offline   Reply With Quote