ofstream OutputFile; //global variable to use for the file output int main() { // your code goes here OutputFile.open() { ofstream OutputFile ("PizzaStoTotals.txt", ios::app); }