C++ What am I doing wrong? My written code will not compile.
The printArray Function:
The function is named printArray
It takes in three parameters:
the first parameter is an array of strings,
the second parameter is an int for the size of the array,
the third parameter is a string for the name of a text file inwhich to write out the data
The function must creates a new output file stream variable toopen the file whose name is passed in as a parameter
It also checks for failure if the file cannot open
It uses a for loop to print out the contents of the array in
PayPal Gateway not configured
PayPal Gateway not configured