void fann_train_on_file(struct fann * ann, char * filename, unsigned int max_epochs, unsigned int epochs_between_reports, float desired_error);
Trains ann using the data in filename until desired_error is reached, or until max_epochs is surpassed.
This function appears in FANN >= 1.0.0.