while(emp != NULL){
//Check if all data are computed
if (emp->dataElement->weeklyPay == 0){
printf("\n\tOne or more of the employee pay have not been computed, \n\tplease compute before saving.\n\t");
return;
}
else
emp = emp->nextElement;
}
do{
printf("\t__________________________________________________________________\n");
printf("\n\tEnter the full file path that you would like to save the file to \n");
printf("\n\te.g. C:\\Temp\\Employee.BIN\n");
printf("\n\tNOTE THE .BIN EXTENSION\n\n");
printf("\t__________________________________________________________________\n");
printf("\tFile path: ");
gets(fileName);
fflush(stdin);