how would i go about doing the std output to a file for this line?
to be more clear i want it to append to the file not overwrite because i run the function multiple times outputting to the same file
std::outFile << "The area with the highest average temperature is #" << highestArea << " with a temperature of " << highestAreaTemp <<endl;
where outFile is defined as
ofstream outFile;
thanks in advance for any answers! :)