pls give some ideas about this:
Thanks a lot.......
1)A function is reading data from text file , that same function is returning 2 values after reading from the file ( so I made inputfile , in the argument list as call by reference (right or wrong)
if wrong what should be done ......
funcn defination is :
int readFromFIle(account database, ifstream &inputFile)
return count ;
2) when I am calling the above function , in the Main ,how I am suppose to store this 2 variables ??
??? (variable 1) = readFromFIle( database, inputFile)
???(variable2 ) = readFromFIle( database, inputFile)
3)I have to use those 2 variables in number of other functions
Are all the methods right?????because I feel my 1st and 2nd part is wrong........
case 1: NewAccountCreation(database, totalRecord , tempPIN);
case2 : openExistingAccount(database, totalRecord, tempPIN);